projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove explicit casts to (const char *), and replace it with .c_str();
[wxWidgets.git]
/
wxPython
/
demo
/
wxButton.py
diff --git
a/wxPython/demo/wxButton.py
b/wxPython/demo/wxButton.py
index a02cc6f5ab422f420d842b9591fbebb335017307..2a92effc126f4a33d4abbfdc6efc090c4c39228d 100644
(file)
--- a/
wxPython/demo/wxButton.py
+++ b/
wxPython/demo/wxButton.py
@@
-7,7
+7,8
@@
import images
class TestPanel(wxPanel):
def __init__(self, parent, log):
class TestPanel(wxPanel):
def __init__(self, parent, log):
- wxPanel.__init__(self, parent, -1)
+ wxPanel.__init__(self, parent, -1,
+ style=wxNO_FULL_REPAINT_ON_RESIZE)
self.log = log
b = wxButton(self, 10, "Hello", wxPoint(20, 20))
self.log = log
b = wxButton(self, 10, "Hello", wxPoint(20, 20))