Włodzimierz Skiba
ead190e478
Warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-16 15:51:35 +00:00
Mart Raudsepp
63ec432bd7
Move constant strings to .rodata/.data.rel.ro ELF segment from .data by making them really const.
...
If any more exotic toolchain decides to not export these strings into the core library anymore, let me know. Try to
compile the notebook sample, for example.
TODO: Move strings not meant for wxCore out of wxCore to the appropriate library.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-16 14:59:55 +00:00
Vadim Zeitlin
3dbfe8f44f
reset g_SelectionBeforePopup sooner in gtk_popup_hide_callback() to ensure that GetSelection() returns the new selection when called from wxEVT_COMMAND_COMBOBOX_SELECTED handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-16 02:31:40 +00:00
Stefan Neis
bf58daba38
Some OS/2 specific improvements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-15 22:16:02 +00:00
Włodzimierz Skiba
f24391587c
Build fix for wxTheApp usage.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-15 10:15:28 +00:00
Włodzimierz Skiba
897b24cf5c
More common code moved from generic dialogs to wxDialogBase::CreateButtonSizer(). New system option 'wince.dialog.real-ok-cancel'.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-15 10:06:15 +00:00
David Surovell
f3078f075b
cleanup - reformat
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-15 07:20:59 +00:00
Mart Raudsepp
3d257b8db1
Remove stray whitespaces
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-14 18:32:37 +00:00
Stefan Neis
539ae551cf
Ensure "reasonable" return values even if none of the #ifdef conditions in
...
wxGet{host,serv}by{name,addr}_r matches.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-14 13:30:58 +00:00
David Surovell
bf473da729
fixed crash introduced in v1.41
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-14 08:49:42 +00:00
David Surovell
e22ab33a47
cleanup - reformat ()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-14 08:25:42 +00:00
David Surovell
876b960ac2
cleanup - reformat
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-14 07:56:26 +00:00
David Surovell
a571434502
cleanup - reformat
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-14 07:31:29 +00:00
David Surovell
0f4c3aa2cc
removed extraneous spaces
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-14 06:55:06 +00:00
Robin Dunn
b93328d842
Only update the size if the parent is a frame and the frame is
...
managing the size of this toolbar, otherwise assume that something
else (like a sizer) is managing the layout of this toolbar and leave
it alone.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-13 23:21:57 +00:00
Vadim Zeitlin
0d7f75df79
return correct client size for child window which are being defer-resized
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-13 22:07:44 +00:00
Vadim Zeitlin
c70ffbdbf0
fixed crash with ownerdrawn menu items accelerators (Perry Miller)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-13 21:03:19 +00:00
Stefan Csomor
9b6bbdccba
gcc 3.3 for ppc and gcc 4.0 static and dynamic builds 10.3 minimum
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-13 17:42:21 +00:00
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