Julian Smart
8b532f8c3d
SendIdleEvents -> ProcessIdle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 09:09:00 +00:00
Julian Smart
955a919785
Rationalised OnIdle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 08:41:08 +00:00
David Elliott
9977626de4
Put OnIdle() back. Without deleting pending objects, frames that have
...
been Destroy()ed (e.g. by the default close implementation) never actually
get deleted and thus the program never terminates because the
wxTopLevelWindowBase destructor is never called to do ExitMainLoop()
FIXME: Why isn't this OnIdle stuff simply in wxAppBase?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 03:48:20 +00:00
David Elliott
6a9afc7adf
In the object destructor, Disassociate the object from its Cocoa counterpart
...
but leave m_cocoaNSWindow intact so base class destructor can use it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 03:04:37 +00:00
David Elliott
fe169919d8
In destructor, pass the NSView ownership to the base class
...
Avoid extra if tests now that Associate/Disassociate do the test themselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 03:02:04 +00:00
David Elliott
bc34fa2617
Call -[NSApplication stop] instead of terminate. The stop message will
...
return to the caller allowing processing to continue until all events
have been processed. Make sure that no more idle events are installed
by checking -[NSApplication isRunning].
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 02:46:12 +00:00
Vadim Zeitlin
5b72b34401
removed OnIdle() which didn't compile any longer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 00:50:57 +00:00
Vadim Zeitlin
28b4db7f89
ugly fix for warnings when wxUSE_STL==0 not breaking compilation when wxUSE_STL==1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 22:53:49 +00:00
Vadim Zeitlin
c7e22c6923
mention wxCrashReport
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 21:33:56 +00:00
Vadim Zeitlin
e483f439b7
added crashrpt.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 21:31:23 +00:00
Vadim Zeitlin
c2892ef89b
wxGlobalSEHandler() takes PEXCEPTION_POINTERS now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 21:31:11 +00:00
Vadim Zeitlin
8531cc2589
moved SEH stuff to crashrpt.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 21:29:37 +00:00
Vadim Zeitlin
81e3be0e46
added wxHAS_ICON_LOCATION and wxHAS_CRASH_REPORT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 21:19:26 +00:00
Vadim Zeitlin
50bea10032
wxSEHReport renamed to wxCrashReport enhanced and debugged; seems to work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 21:18:04 +00:00
Mattia Barbon
335991afa5
Move #inclusion of wx/msw/winundef.h for MinGW to afterstd.h.
...
Fix WX_DEFINE_TYPEARRAY assert to refer to base array's elemnt type
rather than to void*.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 20:07:45 +00:00
Julian Smart
5109ae5d17
Improvements to OnIdle processing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 16:59:30 +00:00
Vadim Zeitlin
9c64071583
first version of crash reporting code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 02:28:11 +00:00
Julian Smart
92f1a59c28
Use WM_INITMENUPOPUP
...
Added wxMenu member to wxMenuEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 23:09:04 +00:00
Mattia Barbon
1b80d34a52
Warning fixes for wxUSE_STL=1.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 20:36:50 +00:00
Vadim Zeitlin
007007c5e4
warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 20:36:48 +00:00
Vadim Zeitlin
f91e838284
set the containing sizer to NULL when destroying the sizer; this fixes a crash (don't ask me how could it work before)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 20:36:31 +00:00
Mattia Barbon
fd82f4e6e9
Readd wxStringList::Add when wxUSE_STL=1, for compatibility with
...
wxUSE_STL=0. Fixed wxPathList double-free reported by Devid Elliot.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 20:34:34 +00:00
Mattia Barbon
8f520a56b7
Added and documented wxColourDatabase::AddColour.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 20:11:51 +00:00
Julian Smart
7a02658071
Added wxWinceHelpController
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 20:11:24 +00:00
Julian Smart
882dfc6753
Added net stuff, some fixes to gsock code for WinCE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 17:58:22 +00:00
Vadim Zeitlin
f35746ceed
fixed wxTempFile::Commit() broken by last check in
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 16:08:54 +00:00
Julian Smart
09785dd38d
Fixed menubar on WinCE
...
Removed some obsolete files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 15:11:00 +00:00
Vadim Zeitlin
8a8c41dd93
fixed incorrect RegOpenKeyEx() usage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 14:18:04 +00:00
Vadim Zeitlin
d80096a2dd
fixed a crash
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 14:07:01 +00:00
Julian Smart
40b83d2901
Removed obsolete file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 13:39:32 +00:00
Vadim Zeitlin
b4e4abb51c
font is only non default if it has non default field values
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 12:39:33 +00:00
Vadim Zeitlin
4ed40684b4
fix for a warning when wxUSE_STL == 1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 11:28:39 +00:00
Vadim Zeitlin
29a2a24da6
fixed class/struct mismatch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 11:17:14 +00:00
Vadim Zeitlin
b8c253ec50
fix for a warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 11:11:01 +00:00
Julian Smart
471085e408
Compilo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 07:06:32 +00:00
Mattia Barbon
89c20ac15c
Fix some leaks cause by removing list.DeleteContents calls.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 02:27:53 +00:00
Mattia Barbon
e59a80556e
Remove duplicate colour entries.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 02:24:21 +00:00
Mattia Barbon
22a5055f1f
Multilib linking fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 02:22:22 +00:00
David Elliott
010d343bb2
In the object destructor, leave m_cocoaNSView intact for base class destructors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 01:04:47 +00:00
David Elliott
570aaadf1f
In the object destructor, Disassociate the object from its Cocoa counterpart
...
but leave m_cocoaNSView intact so base class destructors can use it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 00:52:50 +00:00
Julian Smart
4cb88a72da
More WinCE mods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 23:10:35 +00:00
Julian Smart
f07dc2e2a7
More WinCE mods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 23:04:34 +00:00
Vadim Zeitlin
52cd14b1c8
[attempt to] fix a warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 22:29:40 +00:00
Vadim Zeitlin
1ab378c03f
fix for a warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 22:28:39 +00:00
Julian Smart
f1c75e0f93
Fixed some duff #ifdefs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 22:06:00 +00:00
Julian Smart
4676948b68
More WinCE mods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 21:50:07 +00:00
Julian Smart
086b3a5b02
More WinCE mods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 21:43:57 +00:00
Stefan Csomor
2cf38c9783
apptraits in line for carbon and mach-o
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 20:17:15 +00:00
Stefan Csomor
d314acc0ba
out of memory for strdup handled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 20:16:05 +00:00
Stefan Csomor
5a036f13b3
codewarrior fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 20:12:43 +00:00