projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't create a bitmap with dimensions <= 0...
[wxWidgets.git]
/
wxPython
/
demo
/
SlashDot.py
diff --git
a/wxPython/demo/SlashDot.py
b/wxPython/demo/SlashDot.py
index cebe1438c594770e574325434917ede934533d45..03fc98011f141c6f8197f0d8938fddeb7f7cdd6d 100644
(file)
--- a/
wxPython/demo/SlashDot.py
+++ b/
wxPython/demo/SlashDot.py
@@
-352,7
+352,7
@@
class AppFrame(wxFrame):
if __name__ == '__main__':
class MyApp(wxApp):
def OnInit(self):
if __name__ == '__main__':
class MyApp(wxApp):
def OnInit(self):
- frame = AppFrame(N
ULL
, -1, "Slashdot Breaking News")
+ frame = AppFrame(N
one
, -1, "Slashdot Breaking News")
frame.Show(true)
self.SetTopWindow(frame)
return true
frame.Show(true)
self.SetTopWindow(frame)
return true
@@
-366,7
+366,7
@@
if __name__ == '__main__':
# if running as part of the Demo Framework...
def runTest(frame, nb, log):
# if running as part of the Demo Framework...
def runTest(frame, nb, log):
- win = AppFrame(N
ULL
, -1, "Slashdot Breaking News")
+ win = AppFrame(N
one
, -1, "Slashdot Breaking News")
frame.otherWin = win
win.Show(true)
frame.otherWin = win
win.Show(true)