git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37381
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- Added SetSheetStyle to wxPropertySheetDialog and allowed it to
behave like a Mac OS X settings dialog.
- wxDC::BeginDrawing() and wxDC::EndDrawing() deprecated.
+- Added <disabled> XRC tag for wxToolBar elements
wxMSW:
bitmap2 Bitmap wxNullBitmap
toggle Boolean 0
radio Boolean 0
+ disabled Boolean 0
label I18nString ""
tooltip I18nString ""
longhelp I18nString ""
kind,
GetText(wxT("tooltip")),
GetText(wxT("longhelp")));
+
+ if ( GetBool(wxT("disabled")) )
+ m_toolbar->EnableTool(GetID(), false);
}
return m_toolbar; // must return non-NULL
}