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:
@@ -139,6 +139,8 @@ public:
|
||||
|
||||
*/
|
||||
|
||||
MustHaveApp(wxDynamicSashWindow);
|
||||
|
||||
class wxDynamicSashWindow : public wxWindow {
|
||||
public:
|
||||
%pythonAppend wxDynamicSashWindow "self._setOORInfo(self)"
|
||||
@@ -177,6 +179,7 @@ enum {
|
||||
|
||||
// This class provides a composite control that lets the
|
||||
// user easily enter list of strings
|
||||
MustHaveApp(wxEditableListBox);
|
||||
class wxEditableListBox : public wxPanel
|
||||
{
|
||||
public:
|
||||
@@ -227,6 +230,8 @@ public:
|
||||
typedef wxTreeCtrl wxPyTreeCtrl;
|
||||
%}
|
||||
|
||||
MustHaveApp(wxRemotelyScrolledTreeCtrl);
|
||||
|
||||
class wxRemotelyScrolledTreeCtrl: public wxPyTreeCtrl
|
||||
{
|
||||
public:
|
||||
@@ -298,6 +303,8 @@ public:
|
||||
%}
|
||||
|
||||
|
||||
MustHaveApp(wxPyTreeCompanionWindow);
|
||||
|
||||
%name(TreeCompanionWindow) class wxPyTreeCompanionWindow: public wxWindow
|
||||
{
|
||||
public:
|
||||
@@ -323,6 +330,8 @@ public:
|
||||
* than the usual one.
|
||||
*/
|
||||
|
||||
MustHaveApp(wxThinSplitterWindow);
|
||||
|
||||
class wxThinSplitterWindow: public wxSplitterWindow
|
||||
{
|
||||
public:
|
||||
@@ -346,6 +355,8 @@ public:
|
||||
* scroll appropriately.
|
||||
*/
|
||||
|
||||
MustHaveApp(wxSplitterScrolledWindow);
|
||||
|
||||
class wxSplitterScrolledWindow: public wxScrolledWindow
|
||||
{
|
||||
public:
|
||||
@@ -375,6 +386,8 @@ enum wxLEDValueAlign
|
||||
};
|
||||
|
||||
|
||||
MustHaveApp(wxLEDNumberCtrl);
|
||||
|
||||
class wxLEDNumberCtrl : public wxControl
|
||||
{
|
||||
public:
|
||||
@@ -501,6 +514,8 @@ IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
|
||||
|
||||
|
||||
|
||||
MustHaveApp(wxPyTreeListCtrl);
|
||||
|
||||
%name(TreeListCtrl) class wxPyTreeListCtrl : public wxControl
|
||||
{
|
||||
public:
|
||||
|
Reference in New Issue
Block a user