All the Window and GDI (pen, bitmap, etc.) classes and also many
toplevel functions will now check that a wx.App object has already been created and will raise a wx.PyNoAppError exception if not. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -38,6 +38,7 @@ enum {
|
||||
// wxSP_VERTICAL: vertical spin button (the default)
|
||||
// wxSP_ARROW_KEYS: arrow keys increment/decrement value
|
||||
// wxSP_WRAP: value wraps at either end
|
||||
MustHaveApp(wxSpinButton);
|
||||
class wxSpinButton : public wxControl
|
||||
{
|
||||
public:
|
||||
@@ -80,6 +81,8 @@ public:
|
||||
// a spin ctrl is a text control with a spin button which is usually used to
|
||||
// prompt the user for a numeric input
|
||||
|
||||
MustHaveApp(wxSpinCtrl);
|
||||
|
||||
class wxSpinCtrl : public wxControl
|
||||
{
|
||||
public:
|
||||
|
Reference in New Issue
Block a user