Commit Graph

47501 Commits

Author SHA1 Message Date
Vadim Zeitlin
74c34d2277 don't do anything in SetWindowMenu() if we're setting the same menu as we already have
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-27 14:48:20 +00:00
Vadim Zeitlin
f4f6ad7547 yet another blind attempt to run tests with --timing option (or how adding a single option can turn into a 2 day endeavour thanks to the power of XSLT)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-27 14:02:27 +00:00
Vadim Zeitlin
4d833b7b7f add missing headers for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-27 13:10:43 +00:00
Francesco Montorsi
74491934c6 fix PCH builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-27 12:33:16 +00:00
Francesco Montorsi
52d2a5e454 fix crash when calling InsertColumn() on a wxListCtrl with wxLC_NO_HEADER style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-27 12:05:27 +00:00
Francesco Montorsi
ad48602087 small cleanup; move private class definitions in a private header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-27 12:01:54 +00:00
Francesco Montorsi
de5d5cc0fa include wx/mdi.h also for non-PCH builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-27 11:22:30 +00:00
Francesco Montorsi
e041a73d60 include wx/mdi.h also for non-PCH builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-27 11:13:11 +00:00
Vadim Zeitlin
7e6d684052 add more wxUSE_MENUS guards
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 23:38:08 +00:00
Vadim Zeitlin
690ba30eb2 don't include wx/mdi.h from wx/wx.h when building the library itself as it's only used by mdi.cpp and it doesn't make sense to include it in the PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 23:20:43 +00:00
Václav Slavík
26dd7154d5 Automatically adjust toolbar's tool size if the provided bitmaps
don't fit into the default size.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 23:20:17 +00:00
Vadim Zeitlin
51181d2911 use a virtual function instead of wxDynamicCast(wxMDIParentFrame) in wxFrame code: this not only makes the code cleaner but should also remove the last dependency on MDI code when linking wx applications not using MDI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 23:18:47 +00:00
Vadim Zeitlin
9089cffbf5 test ShowFullScreen() to verify that restoring menu works correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 23:17:09 +00:00
Václav Slavík
2d8b540af8 changed wxMSW's default toolbar bitmaps size from obsolete 16x15 to 24x24 used by modern apps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 23:16:51 +00:00
Vadim Zeitlin
6125428d54 disable the "Next" and "Previous" commands in the window menu if we have a single child only; update the copyright
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 22:55:25 +00:00
Francesco Montorsi
aac39d1d43 cleanup a bit the wxSplashScreen code; don't Yield() on wxGTK as it's not needed at all (at least with GTK+ 2.12.9
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 22:40:13 +00:00
Vadim Zeitlin
7fee9773c6 trying to make the tests run in trunk release build again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 22:27:13 +00:00
Robert Roebling
992d6e1e2c Removed queuedResize code again as GTK+ does this internally already
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 20:43:12 +00:00
Francesco Montorsi
b162ccca03 suppress warning about unused win pointer when wxUSE_GRAPHICS_CONTEXT==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 18:57:00 +00:00
Bryan Petty
6c4f88a317 Fixed the margins on the class diagram dropdown image after all images were globally given a margin if 20px (I wish this could have been done differently, but it doesn't look like there's any better way of making sure the right images in the manual have a reasonable margin).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 18:31:09 +00:00
Jaakko Salli
e1ef506e13 Added wxPGChoices::Copy(), tweaked related documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 17:28:29 +00:00
Robert Roebling
619df5a4e2 Implement hint cursor for resizable columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 13:45:16 +00:00
Vadim Zeitlin
66f15a587f use --timing option with trunk build, not stable one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 13:05:12 +00:00
Vadim Zeitlin
f8eead5aef disable utils compilation in stable STL builds as tex2rtf doesn't (and won't) build; try to run test with the --timing option to understand why/where does it hang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 13:03:21 +00:00
Vadim Zeitlin
7505b72ead don't show the currently hidden frame if Iconize() is called (see #10426)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 11:48:29 +00:00
Vadim Zeitlin
495bbbead6 document the correct base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 10:59:17 +00:00
Vadim Zeitlin
d247a50d45 include missing header (wx/msw/wrapcctl.h) for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 10:30:25 +00:00
Robert Roebling
2a0c05ebe3 Little correction to hand-made sizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 20:57:43 +00:00
Robert Roebling
32fc355f09 Finally corrected drawing of wxListCtrl selection rect for GTK+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 20:22:37 +00:00
Vadim Zeitlin
ec676e4ff1 Mac build fixes after latest change (closes #10433)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 19:18:58 +00:00
Vadim Zeitlin
428f8b0610 don't change the combobox text when it's being resized (see #10126)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 19:08:33 +00:00
Vadim Zeitlin
d57f1dd7fe undo r58380 as it breaks tree control background repainting (see #9832)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 19:07:11 +00:00
Vadim Zeitlin
da58c4e6a0 compilation fix for VC6 after last change; use wx naming conventions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 18:55:22 +00:00
Vadim Zeitlin
e92b9e696c remove unused function and out of date comments (we don't use bsearch() any more)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 18:52:08 +00:00
Vadim Zeitlin
df4a099cbe fix state images after changing their style (see #9591)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 18:34:45 +00:00
Vadim Zeitlin
ce43f9e115 use GetBoundingRect() for the in place text control positioning instead of duplicating its code (see #9591)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 18:21:36 +00:00
Vadim Zeitlin
136b7e61f5 corrections to size calculations for state images (see #9591)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 18:20:26 +00:00
Vadim Zeitlin
0a03dc7a13 remove duplicated HitTest implementation from wxCheckListBox, it already inherits wxListBox::HitTest() (which was however lacking an overload taking 2 coordinates, added now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 18:10:24 +00:00
Vadim Zeitlin
44e7bad0d4 use correct item index for wxEVT_COMMAND_LISTBOX_DOUBLECLICKED events (see #10429)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 18:09:00 +00:00
Vadim Zeitlin
c1099d9254 allow specifying the mask colour in wxImage::ConvertAlphaToMask() (closes #10143)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 17:23:39 +00:00
Francesco Montorsi
4b2214224f organize in groups wxAppConsole functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 17:11:13 +00:00
Jaakko Salli
fef4b46dc7 Added XRC handler for wxComboCtrl (closes #10151)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 16:00:32 +00:00
Francesco Montorsi
ac17f7283f blind build fix for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 15:12:21 +00:00
Vadim Zeitlin
25102676bc skip mouse events we're not interested in (e.g. mouse wheel ones) (closes #10062)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 14:45:52 +00:00
Vadim Zeitlin
4f57a7bfcd don't use the not always appropriate word "document" in the save prompt (#10076)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 14:41:59 +00:00
Vadim Zeitlin
7ad24ad9cf don't use _() in the public header in case WXINTL_NO_GETTEXT_MACRO is defined (closes #10132)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 14:40:43 +00:00
Vadim Zeitlin
0a1f778483 add wxDrawStateBitmap() (closes #10289)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 14:38:44 +00:00
Vadim Zeitlin
f7d8cefd72 notify the timers outside of loop over m_timers to avoid crashes if a timer event hanlder modifies the timers list (#10094)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 14:21:23 +00:00
Francesco Montorsi
945eac794c build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 14:18:00 +00:00
Vadim Zeitlin
232b216277 added support for wxCAL_SHOW_WEEK_NUMBERS to generic version of wxCalendarCtrl (#10033)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 13:47:20 +00:00