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:
@@ -80,6 +80,8 @@ integer between 0 and 15. The default custom colours are all white.", "");
|
||||
DocStr(wxColourDialog,
|
||||
"This class represents the colour chooser dialog.", "");
|
||||
|
||||
MustHaveApp(wxColourDialog);
|
||||
|
||||
class wxColourDialog : public wxDialog {
|
||||
public:
|
||||
%pythonAppend wxColourDialog "self._setOORInfo(self)"
|
||||
@@ -113,6 +115,8 @@ Window Styles
|
||||
==================== ==========================================
|
||||
");
|
||||
|
||||
MustHaveApp(wxDirDialog);
|
||||
|
||||
class wxDirDialog : public wxDialog {
|
||||
public:
|
||||
%pythonAppend wxDirDialog "self._setOORInfo(self)"
|
||||
@@ -198,6 +202,8 @@ Window Styles
|
||||
|
||||
|
||||
|
||||
MustHaveApp(wxFileDialog);
|
||||
|
||||
class wxFileDialog : public wxDialog {
|
||||
public:
|
||||
%pythonAppend wxFileDialog "self._setOORInfo(self)"
|
||||
@@ -334,6 +340,8 @@ enum { wxCHOICEDLG_STYLE };
|
||||
DocStr(wxMultiChoiceDialog,
|
||||
"A simple dialog with a multi selection listbox.", "");
|
||||
|
||||
MustHaveApp(wxMultiChoiceDialog);
|
||||
|
||||
class wxMultiChoiceDialog : public wxDialog
|
||||
{
|
||||
public:
|
||||
@@ -374,6 +382,8 @@ integers.", "");
|
||||
DocStr(wxSingleChoiceDialog,
|
||||
"A simple dialog with a single selection listbox.", "");
|
||||
|
||||
MustHaveApp(wxSingleChoiceDialog);
|
||||
|
||||
class wxSingleChoiceDialog : public wxDialog {
|
||||
public:
|
||||
%pythonAppend wxSingleChoiceDialog "self._setOORInfo(self)"
|
||||
@@ -418,6 +428,8 @@ public:
|
||||
DocStr(wxTextEntryDialog,
|
||||
"A dialog with text control, [ok] and [cancel] buttons", "");
|
||||
|
||||
MustHaveApp(wxTextEntryDialog);
|
||||
|
||||
class wxTextEntryDialog : public wxDialog {
|
||||
public:
|
||||
%pythonAppend wxTextEntryDialog "self._setOORInfo(self)"
|
||||
@@ -528,6 +540,8 @@ DocStr(wxFontDialog,
|
||||
:see: `wx.FontData`
|
||||
", "");
|
||||
|
||||
MustHaveApp(wxFontDialog);
|
||||
|
||||
class wxFontDialog : public wxDialog {
|
||||
public:
|
||||
%pythonAppend wxFontDialog "self._setOORInfo(self)"
|
||||
@@ -575,6 +589,8 @@ Window Styles
|
||||
");
|
||||
|
||||
|
||||
MustHaveApp(wxMessageDialog);
|
||||
|
||||
class wxMessageDialog : public wxDialog {
|
||||
public:
|
||||
%pythonAppend wxMessageDialog "self._setOORInfo(self)"
|
||||
@@ -625,6 +641,8 @@ Window Styles
|
||||
");
|
||||
|
||||
|
||||
MustHaveApp(wxProgressDialog);
|
||||
|
||||
class wxProgressDialog : public wxFrame {
|
||||
public:
|
||||
%pythonAppend wxProgressDialog "self._setOORInfo(self)"
|
||||
@@ -841,6 +859,8 @@ Window Styles
|
||||
===================== =========================================
|
||||
");
|
||||
|
||||
MustHaveApp(wxFindReplaceDialog);
|
||||
|
||||
class wxFindReplaceDialog : public wxDialog {
|
||||
public:
|
||||
%pythonAppend wxFindReplaceDialog "self._setOORInfo(self)"
|
||||
|
Reference in New Issue
Block a user