Vadim Zeitlin
5d2d4a2ef2
move generic animation sources to ADVANCED_MSW_NATIVE_SRC/HDR from ADVANCED_MSW_SRC/HDR to avoid having duplicated entries in wxMSW/Univ build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 10:02:48 +00:00
Vadim Zeitlin
cff6c9a81a
added back compatibility headers (apparently svn can't do move+add in a single commit)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 08:06:42 +00:00
Paul Cornett
0295d4483b
revert last commit, it re-introduces the first problem
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 08:01:58 +00:00
Paul Cornett
cdb7bf6671
fix bug introduced in last commit, contents not scrolling when selecting treectrl elements with up/down arrow keys
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 07:15:03 +00:00
Francesco Montorsi
58fa61dbad
Re-add support for multiple text validator styles but
...
1) catch some invalid configurations in SetStyle()
2) document the order of the checks in wxTextValidator
3) implement wxFILTER_EMPTY
4) rename wxFILTER_SIMPLE_NUMBER => wxFILTER_DIGITS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-03 21:21:47 +00:00
Vadim Zeitlin
77cc73a78e
added wxPersistentRegisterAndRestore() function to work around VC6 brokenness in debug DLL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-03 12:02:20 +00:00
Vadim Zeitlin
664e13143e
renamed wx/ptr_shrd.h to wx/sharedptr.h; split wx/ptr_scpd.h in wx/scopedptr.h and wx/scopedarray.h; extracted common parts into new wx/checkeddelete.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-03 12:01:46 +00:00
Robert Roebling
6143d648c8
Add space all around std buttons as per Apple HIG (and as the comment in the code says but the code didn't do)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-03 10:42:34 +00:00
Robert Roebling
69d32cafb0
Also report events from wxCollapsiblePane's label
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-03 09:53:33 +00:00
Robert Roebling
2e2e1bb254
Removed accidentally committed debug code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-03 08:51:25 +00:00
Vadim Zeitlin
abb7d8a351
work around VC6 ICE in DLL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-02 21:44:36 +00:00
Vadim Zeitlin
f662a526eb
compilation fix for template Connect()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-02 21:40:53 +00:00
Vadim Zeitlin
361ba943f9
use explicit this-> with non-dependent names (compilation fix for standard-conforming compilers such as g++ 4)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-02 21:09:08 +00:00
Vadim Zeitlin
79935f61bf
use wxCommandEventHandler instead of manually writing several casts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-02 20:46:33 +00:00
Vadim Zeitlin
f3ff831f3b
Changes to template Connect() to make it compile with MSVC7 and possible other
...
not quite up-to-date compilers, to reduce repetitions and to allow using
methods of non-wxEvtHandler-derived classes as event callbacks:
1. Don't rely on compiler ability to deduce template parameter from the type
of a parameter of a function used as another template parameter, at least
MSVC7 can't do this and it's probably not the only one.
2. Do rely on compiler support for partial specialization to make
wxEventFunctorMethod compile for non-wxEvtHandler-derived handlers while
still keeping the old functionality for the wxEvtHandler-derived ones.
3. Don't make any difference between functions and functors, both are callable
objects so use them as such, this allows to fold code for both cases.
4. Avoid the use of dynamic_cast<>.
5. Several naming changes:
a) wxTypedEventType -> wxEventTypeTag (because this is what it is)
b) Subscribe/Unsubscribe -> DoConnect/Disconnect (to follow the usual
convention of public Foo calling private DoFoo and to avoid using up
another name)
c) Derived -> ObjClass (because it's not clear what does Derived mean)
6. Extend the unit test to cover more cases.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-02 20:38:56 +00:00
Robert Roebling
4c509aecb6
Invalidate only the specified rectangle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-02 14:05:46 +00:00
Robert Roebling
08bbdb0858
The recent change to ::Refresh() (strangely) fails to invalidate e.g. a wxTreeCtrl in a wxDialog, revert the relevant part
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-02 14:02:50 +00:00
Vadim Zeitlin
862c917dfb
compilation fix for new event types (this shouldn't be necessary but do it to temporarily fix the build)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-02 12:38:17 +00:00
Vadim Zeitlin
f57254320e
don't always disable new events code; leave it enabled for MSVC8+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-02 11:39:48 +00:00
Chris Elliott
004b67a761
and a third fix from http://trac.wxwidgets.org/ticket/10457 fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-02 08:36:01 +00:00
Robert Roebling
51fbe4cc1d
Make wxCheckListBox call event.SetString() on all platforms, not just wxMSW. Mention again, that wxCommandEvent::IsChecked() cannot be used for it.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 23:43:59 +00:00
Vadim Zeitlin
4fc218c2a7
move evthandler.cpp to non-GUI test as it doesn't require the GUI
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 23:20:27 +00:00
Vadim Zeitlin
9b3ff3c04f
test that the connected event handler is really called; some naming changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 23:19:45 +00:00
Vadim Zeitlin
412fcdc105
remove WXDLLIMPEXP_BASE from template classes to fix linking of code using new events in DLL build using MSVC9
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 23:05:55 +00:00
Vadim Zeitlin
b3f76d404f
disable warning about using deprecated wxStripExtension() for MSVC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 22:20:59 +00:00
Vadim Zeitlin
b2238cc315
add a unit test for new events (see #10000 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 22:12:12 +00:00
Vadim Zeitlin
111d41b2fa
no real changes, just add some comments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 22:10:52 +00:00
Robert Roebling
302c73511a
The check column needs more space
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 21:33:43 +00:00
Robert Roebling
c084a1ac06
Enable the correct code making sure that subwindows will always receive a wxSizeEvent and can then relayout themselves
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 21:33:07 +00:00
Vadim Zeitlin
6c5e1aa764
emphasize that you need to specify eventSink when connecting to a different object method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 21:15:50 +00:00
Francesco Montorsi
6dbf7a3750
blind fix for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 20:59:03 +00:00
Francesco Montorsi
1e0e263e31
document as typedefs the various wxArray* classes so that doxygen links them and it's easier to visit wxArray<T> docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 20:34:13 +00:00
Francesco Montorsi
413eac73fd
remove implementations from interface headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 19:56:06 +00:00
Francesco Montorsi
03faec761d
fix a couple of typos
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 19:34:05 +00:00
Francesco Montorsi
d075fb7af6
add the abicheck.sh script for checking possible ABI violations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 17:17:58 +00:00
Francesco Montorsi
7737e2fd00
add GetControlWidget() accessor to the generic wxCollapsiblePane
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 16:26:38 +00:00
Vadim Zeitlin
247f310d7a
correct the tests for the window position to actually the display offset into account ( #10462 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 16:18:29 +00:00
Chris Elliott
d9e1feb02c
second http://trac.wxwidgets.org/ticket/10457 fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 15:31:14 +00:00
Francesco Montorsi
06d7b2176b
add uint/long/ulong overloads of operator* and operator/ to avoid problems with ambiguos overloads in wxSize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 14:16:20 +00:00
Francesco Montorsi
ee08bdb5b6
use appropriate casts to fix warnings about double=>int conversions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 13:45:17 +00:00
Stefan Neis
d77df9f7d0
Removed extraneous semicolon (partly fixes #10456 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 13:14:30 +00:00
Vadim Zeitlin
62c9b3d73f
another wxUSE_DRAG_AND_DROP==0 compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 12:51:33 +00:00
Vadim Zeitlin
2ac51e161d
position the popup on the correct screen (see #10462 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 12:42:49 +00:00
Vadim Zeitlin
1f0539a4a2
set standard properties
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 12:32:29 +00:00
Vadim Zeitlin
654c223bc7
check for m_parentMenu being NULL in IsChecked/Checked/Enable() too ( closes #10460 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 12:30:27 +00:00
Francesco Montorsi
64894596ea
fix a typo in comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 12:06:15 +00:00
Jaakko Salli
75779c8d20
Use wxToolBar::SetToolBitmapSize() to setup tool bitmap size to match stock bitmaps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 11:18:53 +00:00
Stefan Csomor
456057f8d4
avoid warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 09:17:20 +00:00
Stefan Csomor
f5f172485b
fixing utf32 native conversion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 09:08:02 +00:00
Paul Cornett
6cab4fcac7
simplify Refresh() and Update()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 07:52:39 +00:00