X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b639c3c5ef53c4bdefd3b27aac1496787f024cb8..9f06bcb3b8aea7aa709754a217c26e94fe2d5954:/utils/wxPython/src/msw/cmndlgs.py?ds=sidebyside diff --git a/utils/wxPython/src/msw/cmndlgs.py b/utils/wxPython/src/msw/cmndlgs.py index 5b58c4e340..39dd99819e 100644 --- a/utils/wxPython/src/msw/cmndlgs.py +++ b/utils/wxPython/src/msw/cmndlgs.py @@ -6,6 +6,7 @@ from misc import * from gdi import * from windows import * +import wx class wxColourDataPtr : def __init__(self,this): self.this = this @@ -65,7 +66,7 @@ class wxColourDialog(wxColourDialogPtr): args = tuple(argl) self.this = apply(cmndlgsc.new_wxColourDialog,(arg0.this,)+args) self.thisown = 1 - wxp._StdDialogCallbacks(self) + wx._StdDialogCallbacks(self) @@ -102,7 +103,7 @@ class wxDirDialog(wxDirDialogPtr): args = tuple(argl) self.this = apply(cmndlgsc.new_wxDirDialog,(arg0.this,)+args) self.thisown = 1 - wxp._StdDialogCallbacks(self) + wx._StdDialogCallbacks(self) @@ -166,7 +167,7 @@ class wxFileDialog(wxFileDialogPtr): args = tuple(argl) self.this = apply(cmndlgsc.new_wxFileDialog,(arg0.this,)+args) self.thisown = 1 - wxp._StdDialogCallbacks(self) + wx._StdDialogCallbacks(self) @@ -197,7 +198,7 @@ class wxSingleChoiceDialog(wxSingleChoiceDialogPtr): args = tuple(argl) self.this = apply(cmndlgsc.new_wxSingleChoiceDialog,(arg0.this,arg1,arg2,arg3,)+args) self.thisown = 1 - wxp._StdDialogCallbacks(self) + wx._StdDialogCallbacks(self) @@ -225,7 +226,7 @@ class wxTextEntryDialog(wxTextEntryDialogPtr): args = tuple(argl) self.this = apply(cmndlgsc.new_wxTextEntryDialog,(arg0.this,arg1,)+args) self.thisown = 1 - wxp._StdDialogCallbacks(self) + wx._StdDialogCallbacks(self) @@ -312,7 +313,7 @@ class wxFontDialog(wxFontDialogPtr): args = tuple(argl) self.this = apply(cmndlgsc.new_wxFontDialog,(arg0.this,)+args) self.thisown = 1 - wxp._StdDialogCallbacks(self) + wx._StdDialogCallbacks(self) @@ -443,7 +444,7 @@ class wxPageSetupDialog(wxPageSetupDialogPtr): args = tuple(argl) self.this = apply(cmndlgsc.new_wxPageSetupDialog,(arg0.this,)+args) self.thisown = 1 - wxp._StdDialogCallbacks(self) + wx._StdDialogCallbacks(self) @@ -554,7 +555,7 @@ class wxPrintDialog(wxPrintDialogPtr): args = tuple(argl) self.this = apply(cmndlgsc.new_wxPrintDialog,(arg0.this,)+args) self.thisown = 1 - wxp._StdDialogCallbacks(self) + wx._StdDialogCallbacks(self) @@ -576,7 +577,7 @@ class wxMessageDialog(wxMessageDialogPtr): args = tuple(argl) self.this = apply(cmndlgsc.new_wxMessageDialog,(arg0.this,arg1,)+args) self.thisown = 1 - wxp._StdDialogCallbacks(self) + wx._StdDialogCallbacks(self)