Vadim Zeitlin
eacfac2d5e
Fix return value of wxPersistentSplitter::RestoreValue().
...
It used to always return false which didn't allow the code using to decide
whether the default splitter position should be used or not.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-30 10:08:14 +00:00
Vadim Zeitlin
d6397a9f35
Add persistence support for wxSplitterWindow.
...
New wxPersistentSplitter class allows to easily save and restore the splitter
position in config.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-09-04 23:01:45 +00:00
Vadim Zeitlin
231728361c
add ugly macros to abstract the difference between Bind() and Connect() -- this is still less ugly than having #ifs everywhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 12:10:40 +00:00
Vadim Zeitlin
5293e4b710
replace templae Connect() overloads with separate Bind() method to improve compatibility (see #10000 , closes #10477 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-25 17:43:22 +00:00
Vadim Zeitlin
f61ea9468f
don't react to wxEVT_DESTROY events from child windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 15:20:37 +00:00
Vadim Zeitlin
c0c133e13b
add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 11:45:59 +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