Use the default stdio window for the gui tools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -29,7 +29,7 @@ class App(wxApp):
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
application = App(0)
|
application = App(1)
|
||||||
application.MainLoop()
|
application.MainLoop()
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
@@ -29,7 +29,7 @@ class App(wxApp):
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
application = App(0)
|
application = App(1)
|
||||||
application.MainLoop()
|
application.MainLoop()
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
@@ -1000,8 +1000,6 @@ class Frame(wxFrame):
|
|||||||
frame = self
|
frame = self
|
||||||
wxFrame.__init__(self, None, -1, '', pos, size)
|
wxFrame.__init__(self, None, -1, '', pos, size)
|
||||||
self.CreateStatusBar()
|
self.CreateStatusBar()
|
||||||
#progpath = os.path.split(__file__)[0]
|
|
||||||
#icon = wxIcon(os.path.join(progpath, 'xrced.ico'), wxBITMAP_TYPE_ICO)
|
|
||||||
icon = wxEmptyIcon()
|
icon = wxEmptyIcon()
|
||||||
icon.CopyFromBitmap(images.getIconBitmap())
|
icon.CopyFromBitmap(images.getIconBitmap())
|
||||||
self.SetIcon(icon)
|
self.SetIcon(icon)
|
||||||
@@ -1924,7 +1922,7 @@ class App(wxApp):
|
|||||||
del conf
|
del conf
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
app = App()
|
app = App(1)
|
||||||
app.MainLoop()
|
app.MainLoop()
|
||||||
app.OnExit()
|
app.OnExit()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user