wxFRAME_EX_METAL,
wxDIALOG_EX_METAL,
+ wxWS_EX_CONTEXTHELP,
// Obsolete
wxDIALOG_MODAL,
wxDIALOG_MODELESS,
wxUSER_COLOURS,
wxNO_3D,
+
+ wxFRAME_EX_CONTEXTHELP,
+ wxDIALOG_EX_CONTEXTHELP,
};
+
enum
{
wxFULLSCREEN_NOMENUBAR,
// return True if the frame is maximized
virtual bool IsMaximized() const;
+ // return true if the frame is always maximized
+ // due to native guidelines or current policy
+ virtual bool IsAlwaysMaximized() const;
+
// return True if the frame is iconized
virtual bool IsIconized() const;
void , CenterOnScreen(int dir = wxBOTH),
"Center the window on screen", "");
%pythoncode { CentreOnScreen = CenterOnScreen }
+
+#ifdef __WXMSW__
+ bool EnableCloseButton(bool enable = true);
+#else
+ %extend {
+ bool EnableCloseButton(bool enable = true) { return false; }
+ }
+#endif
+
+ virtual bool SetTransparent(byte alpha);
+ virtual bool CanSetTransparent();
+
+
+
+ DocDeclStr(
+ virtual wxWindow *, GetDefaultItem() const,
+ "Get the default child of this parent, i.e. the one which is activated
+by pressing <Enter> such as the OK button on a wx.Dialog.", "");
+
+ DocDeclStr(
+ virtual wxWindow *, SetDefaultItem(wxWindow * child),
+ "Set this child as default, return the old default.", "");
+
+ DocDeclStr(
+ virtual void , SetTmpDefaultItem(wxWindow * win),
+ "Set this child as temporary default", "");
+
+ DocDeclStr(
+ virtual wxWindow *, GetTmpDefaultItem() const,
+ "Return the temporary default item, which can be None.", "");
+
};