Francesco Montorsi
|
9174364320
|
add operator* taking doubles to wxSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-31 21:22:37 +00:00 |
|
Francesco Montorsi
|
cbec0f401a
|
add wxStringCheck templated utility function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-31 21:19:37 +00:00 |
|
Robert Roebling
|
2dc0115330
|
Forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-31 21:12:32 +00:00 |
|
Vadim Zeitlin
|
33f4afdbc0
|
define MIIM_BITMAP &c in wx/msw/missing.h instead of msw/menu.cpp as menuitem.cpp now needs them too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-31 20:52:44 +00:00 |
|
Francesco Montorsi
|
52ceb90e10
|
fix typo; document wxFlexSizerGrowMode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-31 20:10:13 +00:00 |
|
Vadim Zeitlin
|
0580ddb24f
|
no real changes, just remove unnecessary code; use wxScopedArray instead of raw one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-31 14:04:23 +00:00 |
|
Robert Roebling
|
dc8928439f
|
Fixes #10437 (wxDataObjectComposite::Add may add objects having data formats that already exist in the composite object)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-31 13:41:11 +00:00 |
|
Jaakko Salli
|
94b8ecf1cd
|
Fixed broken 'hidden categories' mode (aka. alphabetic mode); Added distinct names and labels for the two root properties (to help with debugging); Refactored wxPropertyGridState::DoInsert()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-31 11:48:28 +00:00 |
|
Václav Slavík
|
3f8cdda485
|
don't include private headers from wx/unix/evtloop.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-31 10:58:10 +00:00 |
|
Vadim Zeitlin
|
9966c62b28
|
DisableSaving/Restoring() should be void, not bool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-30 22:10:14 +00:00 |
|
Vadim Zeitlin
|
0fa541e870
|
add support for persistent controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-30 21:38:29 +00:00 |
|
Stefan Csomor
|
b69470e4ee
|
workaround for crashes in release builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-30 20:58:08 +00:00 |
|
Robert Roebling
|
e47e063af2
|
Add wxSIZE_FORCE_EVENT and use is from wxSizerItem::SetDimension
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-30 20:10:44 +00:00 |
|
Robert Roebling
|
26f7724c4b
|
Don't use a cached best size if the window has a sizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-30 20:08:14 +00:00 |
|
Francesco Montorsi
|
10b0f4894b
|
cleanup code and reorganize it to reuse the same switch() for both OnChar() and Validate()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-30 17:22:05 +00:00 |
|
Francesco Montorsi
|
d29505ac70
|
fix typo (missing closing brackets); add some comments to wxKeyCode; no real change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-30 16:07:19 +00:00 |
|
Václav Slavík
|
86e9b8f28f
|
wxDFB: use Unix event loop and timers (fixes #10408)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-30 15:21:47 +00:00 |
|
Robert Roebling
|
e81c715586
|
Move body of SetMinSize and SetMaxSize from header to cpp file for easier debugging. The methods are virtual anyway.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-30 09:49:29 +00:00 |
|
Robert Roebling
|
a20a357d92
|
Make GetEffectiveMinSize virtual as not being able to override the method, which the sizer system depends on, is inflexible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-30 09:37:14 +00:00 |
|
Vadim Zeitlin
|
fc50ab9081
|
include wx/generic/gridctrl.h too for compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-30 09:08:37 +00:00 |
|
Robert Roebling
|
55ca41b1ea
|
Store pointer to owning wxWindow in wxPizza widget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-29 22:32:25 +00:00 |
|
Jaakko Salli
|
3cfde7c049
|
Fixed wxPropertyGridManager::CreatePropertyGrid(), corrected documentation about its use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-29 16:09:46 +00:00 |
|
Vadim Zeitlin
|
575e4cd670
|
don't fall back to the only currently existing document in wxDocManager::GetCurrentView() as it breaks activation logic (#9518)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-29 13:04:40 +00:00 |
|
Vadim Zeitlin
|
f92ec19302
|
no changes, just corrected/completed a comment truncated in the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-29 12:52:55 +00:00 |
|
Vadim Zeitlin
|
89d94e046d
|
no real changes, just minor refactoring and cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-29 12:52:17 +00:00 |
|
Vadim Zeitlin
|
26078494a0
|
add wxHAS_MULTIPLE_FILEDLG_FILTERS symbol to be used instead of explicit tests for the platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-29 12:50:06 +00:00 |
|
Václav Slavík
|
cd720f7e16
|
wxEpollDispatcher is in wxBase, not wxCore - fixed to use WXDLLIMPEXP_BASE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-29 00:26:40 +00:00 |
|
Vadim Zeitlin
|
f54e5c1a4f
|
another fix for wxUSE_DRAG_AND_DROP==0 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-28 21:36:57 +00:00 |
|
Vadim Zeitlin
|
99c4be6806
|
rename wxRendererNative::DrawRadioButton() to DrawOptionButton() to avoid conflict with wxUniv function with the same name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-28 13:55:51 +00:00 |
|
Vadim Zeitlin
|
3b7fa2069b
|
fix remaining cases of wxWindow::ProcessEvent() calls; add convenient ProcessWindowEvent() wrapper and document it; also document this (incompatible) change itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-28 13:41:43 +00:00 |
|
Vadim Zeitlin
|
79f9ea0541
|
remove the recently added MSWFindMenuBarItem() as we already had FindItemInMenuBar() for the same purpose; just change the latter to return a non-const pointer; this fixes help string display in the status bar for the window menu items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-28 09:14:07 +00:00 |
|
Francesco Montorsi
|
99d8272073
|
document various enumerations defined in defs.h; give a name to the anonymous enum for the standard IDs; move wxKeyCode and wxKeyModifier enums in defs.h removing their dedicated pages of the manual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-28 00:44:06 +00:00 |
|
Vadim Zeitlin
|
1483e5db8d
|
refactor WM_COMMAND messages handling in MDI frames to avoid duplicating code unnecessarily and generally streamline it; added possibility to use custom menu commands in the "Window" menu and specifying accelerators for them now works too (show this in the sample); finally added standard ids for the MDI window menu commands
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-27 16:47:41 +00:00 |
|
Vadim Zeitlin
|
67fdb6f9af
|
added CreateAccelTable() helper which creates the accel table for just this menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-27 16:45:24 +00:00 |
|
Vadim Zeitlin
|
058f225a44
|
added template wxScopedArray<> too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-01-27 16:40:51 +00:00 |
|
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
|
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
|
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 |
|
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 |
|
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 |
|
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
|
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
|
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 |
|
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 |
|
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 |
|