wxFRAME_SHAPED,
// Obsolete
- //wxDIALOG_MODAL,
- //wxDIALOG_MODELESS,
- //wxUSER_COLOURS,
- //wxNO_3D,
+ wxDIALOG_MODAL,
+ wxDIALOG_MODELESS,
+ wxUSER_COLOURS,
+ wxNO_3D,
};
enum
// send wxUpdateUIEvents for all menu items in the menubar,
// or just for menu if non-NULL
void DoMenuUpdates(wxMenu* menu = NULL);
+
+ static wxVisualAttributes
+ GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
};
//---------------------------------------------------------------------------
// may be called to terminate the dialog with the given return code
virtual void EndModal(int retCode);
- // returns True if we're in a modal loop
- %extend {
- bool IsModalShowing() {
- #ifdef __WXGTK__
- return self->m_modalShowing;
- #else
- return self->IsModalShowing();
- #endif
- }
- }
+ static wxVisualAttributes
+ GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
};
//---------------------------------------------------------------------------