Commit Graph

17575 Commits

Author SHA1 Message Date
Jamie Gadd
3a96aa4afa Add missing WINDOWPOS flags for WinCE build to include/wx/msw/wince/missing.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-13 01:33:33 +00:00
Vadim Zeitlin
71e86b08be wxEventLoop::ms_activeLoop is now defined in its own file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-12 23:10:29 +00:00
Vadim Zeitlin
52c9b34907 don't compile wxEventLoopManual for the ports which don't need it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-12 23:10:03 +00:00
Vadim Zeitlin
c8026dea6c improved wxMac event loop implementation and refactored the code to share it with wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-12 23:06:26 +00:00
Vadim Zeitlin
4d90072c22 implemented wxEventLoop for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-12 20:09:00 +00:00
Vadim Zeitlin
25e2f480a7 define wxEventLoopBase::ms_activeLoop in appcmn.cpp instead of doing it in all platform-dependent evtloop.cpp files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-12 18:57:28 +00:00
Vadim Zeitlin
77fb1a02aa share wxEventLoop::IsRunning() implementation between all ports; moved wxEventLoopActivator used by it in wx/evtloop.h instead of duplicating it in 3 different .cpp files (and not using it at all in 3 other ones)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-12 16:56:48 +00:00
Julian Smart
4e1ed07b52 Typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-11 09:00:33 +00:00
Julian Smart
f3e156efb0 Renamed helpwin.h/cpp to helpwnd.h/cpp to avoid clash
Added back GetFrame/GetDialog for compatibility and consistency


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-11 08:59:17 +00:00
Jamie Gadd
dd28827a04 Repainting fixes/improvements. Use SWP_NOCOPYBITS for statusbars, don't activate when using DeferWindowPos and remove WM_WINDOWPOSCHANGED code (no longer necessary).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-10 21:37:16 +00:00
Włodzimierz Skiba
d9170b47d1 wxCalendarCtrl: positioning fixes and colours following system settings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-10 21:08:07 +00:00
Włodzimierz Skiba
fc038829d5 wxMGL/Watcom linkage fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-10 16:52:02 +00:00
David Surovell
ffafe6ca89 cleanup - reformat - 4th pass
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-10 03:47:35 +00:00
Julian Smart
13344b2557 Made the HTML command ids visible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-09 17:06:05 +00:00
Julian Smart
3755cfa64d Moved wxHtmlHelpFrame functionality to wxHtmlHelpWindow to allow
for embedded and modal help


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-09 13:42:57 +00:00
David Surovell
274b7a40ef cleanup - reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-09 09:46:05 +00:00
Robin Dunn
633ecf268b Fix for wxMac when the tree doesn't have the focus and the
wxSYS_COLOUR_HIGHLIGHTTEXT is white.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-09 02:57:04 +00:00
David Surovell
43524b1583 cleanup - reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-09 00:46:43 +00:00
Vadim Zeitlin
2dc62891c4 moved OnExceptionInMainLoop() from wxAppConsole to wxAppBase because
1. console apps have no main loop
2. in non-monolithic mingw32 build, rethrowing an exception thrown from the
   GUI in the base DLL doesn't work


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-09 00:12:49 +00:00
Włodzimierz Skiba
57436bb7db Minor reformat.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-09 00:09:43 +00:00
Włodzimierz Skiba
c54de5ae9d defs.h doubled include fixed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-09 00:06:50 +00:00
Robert Roebling
bcd846ea71 Added empty wxDataViewCtrl header and control name string.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-08 21:50:02 +00:00
David Surovell
7fe44deeab minor cleanup - reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-08 18:52:03 +00:00
David Surovell
5fa7a49ce3 cleanup - reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-08 18:51:24 +00:00
Jamie Gadd
1feb5443ff Return correct values for GetFieldRect() when using themes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-08 15:33:30 +00:00
Jamie Gadd
2919a8b5af InsertMenuItem can be used by submenus having bitmaps also
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-08 13:28:52 +00:00
Stefan Csomor
4c5dae083d allowing ampersands in choices and comboboxes means we have to strip outside of uma.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-08 10:54:32 +00:00
Stefan Neis
127189ebec Replaced get{host,serv}by{name,addr} by the threadsafe wrappers
introduced in the previous revision.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-08 01:33:58 +00:00
David Surovell
78606adf3a fixed typo in prior checkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-07 17:43:39 +00:00
David Surovell
172da31f53 cleanup - reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-07 17:29:16 +00:00
Stefan Csomor
93a2b888fc bug fix for MacTel builds, using the same code on PPC as well (wxMask)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-07 08:33:13 +00:00
David Surovell
73c902d669 minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-07 06:30:25 +00:00
David Surovell
1c4cd9e047 minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-07 06:09:50 +00:00
David Surovell
efb064f747 cleanup - reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-07 06:01:50 +00:00
Vadim Zeitlin
e45a688549 refresh the MDI frame window menu whenever a child frame is shown/hidden (and not only when its menu bar is changed as this means that the menu is never refreshed if the child frame has no menu)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-07 01:14:45 +00:00
Vadim Zeitlin
90392f9cc9 removed Win16 code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-07 01:05:52 +00:00
Stefan Neis
a4ebf7ba61 Integrated fixes for sizing/positioning; cleanup; removal of handle/window
association in dtor. (All according to patch #1396667).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 23:43:45 +00:00
Stefan Neis
179db36df4 Fixed sizing&positioning and an error in subclassing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 22:31:00 +00:00
Stefan Neis
154daa940e Cosmetic fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 22:26:15 +00:00
David Surovell
bb64b8bdd5 cleanup - reformat (take 2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 21:17:18 +00:00
David Surovell
5a7d70fe89 cleanup - reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 21:14:34 +00:00
Vadim Zeitlin
0d8c57c006 add comment about using not quite standard mbstowcs() feature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 17:10:32 +00:00
Vadim Zeitlin
dbf9aa465e use our own mbstowcs() and wcstombs() implementations with Metrowerks as MSL CRT doesn't implement Unix98 extension of allowing to call them with NULL output parameters to just get the size of the needed buffer which we rely on
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 16:52:54 +00:00
Stefan Neis
74fd4fd42a Removed creation&deletion of an unused font object.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 16:04:00 +00:00
Stefan Neis
61cc67648d Allow multiple lines for a static text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 16:01:33 +00:00
Robin Dunn
2091f5e71a Allow the frame (if there is one) to resize the toolbar after Realize
is called


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 05:26:22 +00:00
David Surovell
d34cca534c cleanup - reformat; added assignment of initial selection to match other platform behavior
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 03:17:29 +00:00
David Surovell
76e36d4334 cleanup - reformat; added (disabled) support for secondary highlight color
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 00:36:37 +00:00
Robin Dunn
b6bc47efde Workaround for wxMac since it is unable to dismiss the edit control
when the listctrl is clicked on.  It has to do with a dependency on
the order of focus events so on wxMac we'll just explicitly dismiss
the edit control if it's active when the listctrl is clicked on.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-05 23:55:55 +00:00
David Surovell
586031781c cleanup - reformat; minor code tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-05 19:02:39 +00:00