-------

Added new controls (Choicebook, Listbook, StatusBar, DatePicker), and
completed style flags. Test window is opened for an available parent
control if no specific view defined. Better handling of exceptions
(highlighting does not 'stick' anymore). Tested on wxGTK 2.6.1.0.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Roman Rolinsky
2005-11-11 00:23:31 +00:00
parent 6d3d756a6a
commit 306b6fe972
10 changed files with 300 additions and 122 deletions

View File

@@ -230,7 +230,7 @@ class Tools(wxPanel):
ID_NEW.MENU_ITEM,
ID_NEW.SEPARATOR ],
False)
if state == STATE_STDDLGBTN:
elif state == STATE_STDDLGBTN:
pass # nothing can be added from toolbar
elif state == STATE_MENUBAR:
self.EnableGroup(GROUP_MENUS)
@@ -277,9 +277,9 @@ class Tools(wxPanel):
False)
self.EnableGroup(GROUP_SIZERS)
self.EnableGroup(GROUP_CONTROLS)
# Special case for notebook (always executed)
# Special case for *book (always executed)
if state == STATE_ELSE:
if xxx.__class__ == xxxNotebook:
if xxx.__class__ in [xxxNotebook, xxxChoicebook, xxxListbook]:
self.EnableGroup(GROUP_SIZERS, False)
else:
self.EnableGroup(GROUP_SIZERS)