virtual wxString GetLabel() const;
virtual void SetLabel(const wxString& label) ;
+ // protect native font of box
+ virtual bool SetFont( const wxFont &font );
// Other external functions
void Command(wxCommandEvent& event);
void SetFocus();
virtual void GetBordersForSizer(int *borderTop, int *borderOther) const;
virtual bool AcceptsFocus() const { return false; }
+
+ // protect native font of box
+ virtual bool SetFont( const wxFont &font );
};
#endif
return wxSize( totWidth, totHeight );
}
+bool wxRadioBox::SetFont(const wxFont& font)
+{
+ bool retval = wxWindowBase::SetFont( font );
+
+ // dont' update the native control, it has its own small font
+
+ return retval;
+}
+
#endif // wxUSE_RADIOBOX
*borderOther = other;
}
+bool wxStaticBox::SetFont(const wxFont& font)
+{
+ bool retval = wxWindowBase::SetFont( font );
+
+ // dont' update the native control, it has its own small font
+
+ return retval;
+}
+
#endif // wxUSE_STATBOX