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:
@@ -125,6 +125,8 @@ IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, Est
|
||||
of the window and not its entire client area.
|
||||
*/
|
||||
|
||||
MustHaveApp(wxPyVScrolledWindow);
|
||||
|
||||
%name(VScrolledWindow) class wxPyVScrolledWindow : public wxPanel
|
||||
{
|
||||
public:
|
||||
@@ -282,6 +284,8 @@ IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground
|
||||
It emits the same events as wxListBox and the same event macros may be used
|
||||
with it.
|
||||
*/
|
||||
MustHaveApp(wxPyVListBox);
|
||||
|
||||
%name(VListBox) class wxPyVListBox : public wxPyVScrolledWindow
|
||||
{
|
||||
public:
|
||||
@@ -478,6 +482,7 @@ IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup
|
||||
|
||||
|
||||
// wxHtmlListBox is a listbox whose items are wxHtmlCells
|
||||
MustHaveApp(wxPyHtmlListBox);
|
||||
%name(HtmlListBox) class wxPyHtmlListBox : public wxPyVListBox
|
||||
{
|
||||
public:
|
||||
|
Reference in New Issue
Block a user