]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/control.cpp
Don't do the wx cleanup if wxPython didn't do the initialization.
[wxWidgets.git] / src / univ / control.cpp
index fa5cdf48a8f08b2c3cdd82460802e8fae32ffbb4..6cb253344b7f6d834956ea94e9aba2bfa89bdd79 100644 (file)
@@ -70,11 +70,11 @@ bool wxControl::Create(wxWindow *parent,
                        const wxValidator& validator,
                        const wxString& name)
 {
                        const wxValidator& validator,
                        const wxString& name)
 {
-    // we use wxNO_FULL_REPAINT_ON_RESIZE by default as it results in much
+    // Ee use wxNO_FULL_REPAINT_ON_RESIZE by default as it results in much
     // less flicker and none of the standard controls needs to be entirely
     // less flicker and none of the standard controls needs to be entirely
-    // repainted after resize anyhow
+    // repainted after resize anyhow.
     if ( !wxControlBase::Create(parent, id, pos, size,
     if ( !wxControlBase::Create(parent, id, pos, size,
-                                style | wxNO_FULL_REPAINT_ON_RESIZE,
+                                style | wxNO_FULL_REPAINT_ON_RESIZE ,
                                 validator, name) )
     {
         // underlying window creation failed?
                                 validator, name) )
     {
         // underlying window creation failed?