Commit Graph

47365 Commits

Author SHA1 Message Date
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
Robert Roebling
ded5dd7689 Add comment explaining why we filter out application/x-blah-app like entries from the MIME db
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-24 00:06:18 +00:00
Vadim Zeitlin
9adeb77af4 add missing wxUSE_DRAG_AND_DROP checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 23:55:17 +00:00
Robert Roebling
1c1e6b5b50 Don't pretend to be a GtkTreeView where it isn't required
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 23:40:48 +00:00
Robert Roebling
4e0d42061e Optical improvements under OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 23:35:18 +00:00
Robert Roebling
e675d6d86e Only use text/xxx, skip application/xxx in MIME database
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 22:50:12 +00:00
Robert Roebling
08f744fb3b Correct conversion from text file to charset (which is read in that text file)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 22:19:46 +00:00
Robert Roebling
8680ee061f Don't attempt to convert non-ascii strings to filenames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 22:18:29 +00:00
Stefan Csomor
728447a06a fixing some warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 19:50:28 +00:00
Stefan Csomor
3f2cd15f3d fixing 64 bit compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 19:25:34 +00:00
Robert Roebling
dff750b48f Always use theme border for inner window under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 15:10:09 +00:00
Robert Roebling
d7ce433897 Postpone size event from wxTLW resizing to idle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 14:04:32 +00:00
Robert Roebling
1831914337 Not calling _size_allocate() breaks a.o. the native wxDataViewCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 13:54:15 +00:00
Vadim Zeitlin
997fb31f8d added (wxMSW-only) wxToolTip::SetMaxWidth() and improve its default behaviour (#2817)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 13:30:46 +00:00