//---------------------------------------------------------------------------
-%{
- DECLARE_DEF_STRING(StaticBitmapNameStr);
- DECLARE_DEF_STRING(StaticBoxNameStr);
- DECLARE_DEF_STRING(StaticTextNameStr);
-%}
+MAKE_CONST_WXSTRING(StaticBitmapNameStr);
+MAKE_CONST_WXSTRING(StaticBoxNameStr);
+MAKE_CONST_WXSTRING(StaticTextNameStr);
//---------------------------------------------------------------------------
%newgroup
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,
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();
};
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,
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,