Vadim Zeitlin
87e024f7d5
delay setting the window shape until it is realized (slightly modified patch 1935497)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 16:14:49 +00:00
Vadim Zeitlin
fa7134b05a
use kind, not id, of a menu item to test whether it's a separator: this allows having separators with ids other than wxID_SEPARATOR in case it's useful to distinguish between them (patch 1929039)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:55:42 +00:00
Vadim Zeitlin
9c2b4cab93
removed (unused) occurrences of _WX_DEFINE_DATE_EVENTS_ (part of patch 1927817)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:41:47 +00:00
Francesco Montorsi
3fedffdc05
give a name to the enumeration of the values which can be passed to OnDrawItem to make it easier to document it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:35:21 +00:00
Francesco Montorsi
e46fcdb43b
documented wxVideoMode (otherwise wxDisplay docs are not very useful)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:34:05 +00:00
Vadim Zeitlin
a7507230d1
corrected inverted test in IsEmpty() (patch 1936052)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:25:41 +00:00
Vadim Zeitlin
0367b92891
document Alloc() vs returning bool (part of bug 1933693)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 17:50:16 +00:00
Vadim Zeitlin
823aaeb9c4
include the headers needed for its compilation from the header itself
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 17:05:57 +00:00
Robert Roebling
0bdfa38835
Support renderer::LeftClick() in generic code, removed unsupported RightClick(), corrected docs, added test to sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 12:09:15 +00:00
Vadim Zeitlin
3ccd1b4987
set focus to the control when it's clicked
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 23:07:55 +00:00
Vadim Zeitlin
8354b47d96
make GenerateEvent() public again to fix wxGTK compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 22:25:43 +00:00
Vadim Zeitlin
db0b0942f8
implemented toggling of wxCAL_MONDAY_FIRST in the native MSW version of wxCalendarCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 16:35:43 +00:00
Vadim Zeitlin
82c6027b47
implemented Mark() in the native MSW version of wxCalendarCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 16:26:39 +00:00
Vadim Zeitlin
b3ed70208b
generate double click events in the native MSW version of wxCalendarCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 15:49:08 +00:00
Vadim Zeitlin
a4fcd589a8
generate the correct events in the native MSW version of wxCalendarCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 15:26:37 +00:00
Vadim Zeitlin
ee22a3a2a6
implemented HitTest() in the native MSW version; added test for it to the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 14:58:44 +00:00
Vadim Zeitlin
5131749617
initial native implementation of wxCalendarCtrl for MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 04:17:03 +00:00
Robin Dunn
6a079bc1f0
Fix for potential layout glitches in wxGridBagSizer when items span cells but
...
some other item affects the size of one of spanned rows/cols.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 02:50:15 +00:00
Vadim Zeitlin
9fdb68d985
wxMac compilation fix: must explicitly qualify non-dependent MacSetClipChildren() in wxScrolled::Create()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-02 13:51:30 +00:00
Stefan Neis
a93cf225f7
Added detection of vsscanf and whether or not a prototype exists in headers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-02 12:05:27 +00:00
Vadim Zeitlin
bf956fac0e
move all appearace-related methods down to wxCalendarCtrlBase from wxGenericCalendarCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 23:43:34 +00:00
Vadim Zeitlin
09902c517e
wxMimeTypesManagerImpl and wxFileTypeImpl are in base, not core
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 22:48:55 +00:00
Stefan Neis
db3df3c493
Another attempt at fixing Watcom compilation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 22:19:25 +00:00
Stefan Neis
d897635497
Added header needed for Solaris to find finite() prototype.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 19:43:41 +00:00
Václav Slavík
f2a6c918e8
compilation fix for wxMSW and r52961
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 15:40:49 +00:00
Václav Slavík
16361ec941
Generalized wxScrolledWindow into wxScrolled<T> that can derive from
...
anything (typically wxPanel or wxWindow). Fixed generic wxListCtrl to
use wxScrolled<wxWindow> - this fixes focus problems with label-editing
text control. Fixes to wxScrolledWindow doxygen docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 15:07:03 +00:00
Vadim Zeitlin
c8f80d2758
throw away the now invalid items in wxSelectionStore::SetItemCount() (bug 1929823) and added a unit test for this class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-31 15:22:10 +00:00
Vadim Zeitlin
4cfcb00f00
store selected indices as unsigned int, not size_t, in wxSelectionStore, we don't need to waste twice the memory needed under Win64
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-31 14:42:07 +00:00
Václav Slavík
43a302f200
added wxXmlNode::InsertChildAfter and use it for (much) faster XML parsing (based on patch by Francesco Montorsi)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-30 10:27:19 +00:00
Václav Slavík
5e05df3c7f
1. fixed wxXmlNode::InsertChild() documentation to match the code
...
2. added tests for InsertChild()
3. simplified InsertChild() code without changing what it does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-29 22:55:35 +00:00
Stefan Neis
6b5c2d5262
OS/2 port: reorganized wxBitmap/wxBitmapHandler classes to use wxBitmapType
...
instead of "long" where possible; made them const-correct etc. (see r52820)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-29 19:34:37 +00:00
Francesco Montorsi
231b9591aa
add more pure virtuals to wxBrushBase; fix the GetColour() functions to return a wxColour object and not a reference; remove from docs the non-existent SetColour(const wxString&) overloads
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-28 16:47:58 +00:00
Vadim Zeitlin
628e155d8c
added native GTK implementation of wxCalendarCtrl (modified patch 1925439)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-28 02:47:12 +00:00
Robin Dunn
6c09235ca1
Fix line endings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 21:26:13 +00:00
Robin Dunn
c0a4c58aca
A bit of cleanup for STC's use of PopupWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 21:25:03 +00:00
Francesco Montorsi
2fd0ada578
final fixes to [a-b]*h headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 21:14:31 +00:00
Vadim Zeitlin
d2a48d5cbc
added convenient wxON_BLOCK_EXIT_SET() macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 16:13:50 +00:00
Vadim Zeitlin
51c679d5e2
added convenient wxON_BLOCK_EXIT_THISn() macros wrapping wxON_BLOCK_EXIT_OBJn(*this)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 15:37:41 +00:00
Francesco Montorsi
2f46438b36
added the rungccxml.sh script and the setup_gccxml.h file to make it easier to generate the gccxml output for ifacecheck
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 16:40:54 +00:00
Francesco Montorsi
53a2db124c
substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 15:06:00 +00:00
Stefan Csomor
5df8beb1d9
moving tlw list up, cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 21:36:11 +00:00
Francesco Montorsi
e86f2cc84a
reorganized wxBitmap/wxBitmapHandler classes to use wxBitmapType instead of "long" where possible; made them const-correct; introduce wxBITMAP_SCREEN_DEPTH instead of -1 for clearness (specially in the docs); remove wxBitmapHandler empty stubs and rename wxBitmapHandlerBase as wxBitmapHandler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 20:31:48 +00:00
Vadim Zeitlin
b2c31e32de
implement wxListItem::operator=()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 13:45:40 +00:00
Stefan Csomor
53b9afdefb
make popup on mac behave as on msw
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:39:43 +00:00
Stefan Csomor
ce4cf38592
turning off QuickDraw on the iPhone
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:32:45 +00:00
Stefan Csomor
96bd18d58b
addind nonowned window implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:31:44 +00:00
Stefan Csomor
a29567c821
addind nonowned window implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:30:54 +00:00
Stefan Csomor
e333075415
addind nonowned window implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:29:03 +00:00
Stefan Csomor
074ec0b565
addind nonowned window implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:27:48 +00:00
Stefan Csomor
a69476643b
addind nonowned window implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:27:14 +00:00