Commit Graph

18050 Commits

Author SHA1 Message Date
David Elliott
421a84317f wxCocoa: Added basic (i.e. not working) implementation of wxComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 15:58:33 +00:00
Václav Slavík
cb3b19dbad fixed make install for wxMSW ole headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 15:41:46 +00:00
Václav Slavík
157a344056 fixed wx-config installation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 15:40:44 +00:00
Václav Slavík
1f6c7c4432 added missing header files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 15:02:30 +00:00
Václav Slavík
19c261dc84 removed --enable-precomp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 14:57:43 +00:00
David Elliott
49e5528add Added default argument (true) to Show()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 14:43:34 +00:00
David Elliott
d9006b9e20 wxCocoa: Allow find/replace dialog, font dialog, grid, and wizard dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 14:42:08 +00:00
David Elliott
8343764860 Added wxButtonBase::GetDefaultSize stub
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 14:22:42 +00:00
Mattia Barbon
d794dcb6d9 Use wxApp::ProcessIdle() instead of wxApp::SendIdleEvents().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 14:18:03 +00:00
David Elliott
88c8208626 wxCocoa: allow sash, splitter, and startup tips
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 14:14:11 +00:00
David Elliott
d2022d2941 Use generic MDI with wxCocoa until a real implementation is done
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 14:11:52 +00:00
David Elliott
15d521a109 Added (Start|End)DrawingOnTop stubs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 13:59:20 +00:00
David Elliott
bd3e8827dd Commented out wxAutoNSAutoreleasePool in CallOnInit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 13:19:50 +00:00
David Elliott
7fc77f30f4 Put wxAutoNSAutoreleasePool in methods that may be used outside the run loop.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 13:10:32 +00:00
David Elliott
493902ac5b Use the new wx/cocoa/autorelease.h header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 13:05:19 +00:00
David Elliott
140e7468ab Place wxAutoNSAutoreleasePool in this header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 13:03:18 +00:00
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