class wxStaticBox : public wxControl {
public:
- %addtofunc wxStaticBox "self._setOORInfo(self)"
- %addtofunc wxStaticBox() ""
+ %pythonAppend wxStaticBox "self._setOORInfo(self)"
+ %pythonAppend wxStaticBox() ""
wxStaticBox(wxWindow* parent, wxWindowID id, const wxString& label,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
const wxString& name = wxPyStaticBoxNameStr);
+
+ static wxVisualAttributes
+ GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
};
class wxStaticLine : public wxControl {
public:
- %addtofunc wxStaticLine "self._setOORInfo(self)"
- %addtofunc wxStaticLine() ""
+ %pythonAppend wxStaticLine "self._setOORInfo(self)"
+ %pythonAppend wxStaticLine() ""
wxStaticLine( wxWindow *parent, wxWindowID id,
const wxPoint &pos = wxDefaultPosition,
bool IsVertical() const;
// get the default size for the "lesser" dimension of the static line
- static int GetDefaultSize() { return 2; }
+ static int GetDefaultSize();
+ static wxVisualAttributes
+ GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
};
class wxStaticText : public wxControl {
public:
- %addtofunc wxStaticText "self._setOORInfo(self)"
- %addtofunc wxStaticText() ""
+ %pythonAppend wxStaticText "self._setOORInfo(self)"
+ %pythonAppend wxStaticText() ""
wxStaticText(wxWindow* parent, wxWindowID id, const wxString& label,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
const wxString& name = wxPyStaticTextNameStr);
+
+ static wxVisualAttributes
+ GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
};
//---------------------------------------------------------------------------
class wxStaticBitmap : public wxControl {
public:
- %addtofunc wxStaticText "self._setOORInfo(self)"
- %addtofunc wxStaticText() ""
+ %pythonAppend wxStaticBitmap "self._setOORInfo(self)"
+ %pythonAppend wxStaticBitmap() ""
wxStaticBitmap(wxWindow* parent, wxWindowID id,
const wxBitmap& bitmap,
wxBitmap GetBitmap();
void SetBitmap(const wxBitmap& bitmap);
void SetIcon(const wxIcon& icon);
+
+ static wxVisualAttributes
+ GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
};
//---------------------------------------------------------------------------