Commit Graph

47528 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
eab1336c90 added (MSW-only) wxListCtrl::OnGetItemColumnAttr() (#10018)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 13:27:48 +00:00
Vadim Zeitlin
d099c754b5 return NULL from GetVoidPtr() for NULL variants instead of asserting (closes #9873)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 13:19:44 +00:00
Vadim Zeitlin
970f6abe1d merged libpng 1.2.34 into the trunk (see #10043)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 13:15:09 +00:00
Vadim Zeitlin
d571cf149e fix MSVC warning C4516 about using deprecated access declarations; use using declarations instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 13:10:51 +00:00
Vadim Zeitlin
ec5756d6b5 zero {host,serv}ent_data before passing it to the system functions to avoid crashing (see #10332)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 12:45:29 +00:00
Vadim Zeitlin
110c50944f added wxPATH_RMDIR_FULL/RECURSIVE wxFileName::Rmdir() flags (closes #10422)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 12:37:16 +00:00
Vadim Zeitlin
2ddb8ccf60 convert COM arguments to wx lazily to improve performance and allow calling Invoke/handling events involving parameters which can't be mapped to wx types at all (new GetNativeParameters() method can be used to access them) (closes #9606)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 12:25:43 +00:00
Vadim Zeitlin
bb24f84b70 add IsOk() (closes #9872)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 12:04:25 +00:00
Vadim Zeitlin
713e92905e don't deprecate the entire wxDrawObject class, this results in warnings when we just declare wxDC::DrawObject(); instead deprecate just its ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 12:01:35 +00:00
Francesco Montorsi
004867dbc5 Change in wxWindow the access specifier of the wxEvtHandler event processing and queuing functions
from public to protected. Adapt wxWidgets code and wxWidgets samples to always use wxWindow::GetEventHandler()
when calling such functions on a wxWindow rather than directly using wxWindow::ProcessEvent, etc.
This enables correct event dispatching to the event handlers which have been pushed (with PushEventHandler) on the 
windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 11:58:39 +00:00
Vadim Zeitlin
838ab05ede allow using wxBG_STYLE_CUSTOM even with the native controls and use it in wxTreeCtrl (see #9832)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 11:40:41 +00:00
Vadim Zeitlin
0a0e498415 deprecate wxDrawObject (#9860)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 11:32:41 +00:00
Stefan Csomor
215bd0e12b adapting to name change in r58318
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 11:15:12 +00:00
Vadim Zeitlin
64c38b4be8 implement wxChoicebook::SetWindowVariant() by forwarding it to wxChoice (see #10398)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 11:11:27 +00:00
Vadim Zeitlin
21f673955a removed debugging wxPrintf() which not only had nothing to do there but also broke PCH-less compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 11:06:31 +00:00
Stefan Csomor
04236b74cd adapting to name change in r58318
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 10:33:50 +00:00
Stefan Csomor
64374d1b06 bring in the definition of wxSizer, making non-precomp builds working again after r58312
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-24 18:07:46 +00:00
Stefan Csomor
473d6885de bring in the definition of wxScrollHelper, making non-precomp builds working again after r58312
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-24 17:01:46 +00:00
Vadim Zeitlin
758a811486 take into account the controlling wxChoice size in GetBestSize() (closes #10394)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-24 14:12:59 +00:00
Robert Roebling
98359ac7b5 Pseudo-sort MIME types (all application/xxx at the end) so that other types are found first
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-24 14:10:55 +00:00
Vadim Zeitlin
d6dae1b443 minor fixes for custom controls support in wxFileDialog: slightly improve documentation, make variable names more clear and add more WinCE checks (closes #10416)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-24 14:04:25 +00:00
Francesco Montorsi
9800347d77 wxgtk_window_size_request_callback is not needed by wxStaticText anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-24 13:42:00 +00:00
Francesco Montorsi
7d7b3f69f2 do not export private symbols in wx shared libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-24 13:40:46 +00:00