// 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;
virtual bool IsActive();
#ifdef __WXMAC__
- void MacSetMetalAppearance( bool on );
+ %extend {
+ void MacSetMetalAppearance( bool on ) {
+ int style = self->GetExtraStyle();
+ if ( on )
+ style |= wxFRAME_EX_METAL;
+ else
+ style &= ~wxFRAME_EX_METAL;
+ self->SetExtraStyle(style);
+ }
+ }
bool MacGetMetalAppearance() const;
#else
%extend