class wxSpinButton : public wxControl
{
public:
- %addtofunc wxSpinButton "self._setOORInfo(self)"
- %addtofunc wxSpinButton() ""
+ %pythonAppend wxSpinButton "self._setOORInfo(self)"
+ %pythonAppend wxSpinButton() ""
wxSpinButton(wxWindow* parent, wxWindowID id = -1,
const wxPoint& pos = wxDefaultPosition,
class wxSpinCtrl : public wxControl
{
public:
- %addtofunc wxSpinCtrl "self._setOORInfo(self)"
- %addtofunc wxSpinCtrl() ""
+ %pythonAppend wxSpinCtrl "self._setOORInfo(self)"
+ %pythonAppend wxSpinCtrl() ""
wxSpinCtrl(wxWindow *parent,
wxWindowID id = -1,
virtual void SetRange( int minVal, int maxVal );
virtual int GetMin() const;
virtual int GetMax() const;
-#ifdef __WXGTK__
- %extend {
- void SetSelection(long from, long to) {
- }
- }
-#else
void SetSelection(long from, long to);
-#endif
};