0.1.7-0
------- 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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user