]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/stattext.cpp
Don't call a function that might do drawing when setting a null image list
[wxWidgets.git] / src / univ / stattext.cpp
index d5fcb0846cc5bfa22d3cbc66acfbc0a6f8cee44a..5bb880a96ef641bafcca943e7eb62a530a21163d 100644 (file)
@@ -18,7 +18,7 @@
 // ----------------------------------------------------------------------------
 
 #ifdef __GNUG__
 // ----------------------------------------------------------------------------
 
 #ifdef __GNUG__
-    #pragma implementation "stattext.h"
+    #pragma implementation "univstattext.h"
 #endif
 
 #include "wx/wxprec.h"
 #endif
 
 #include "wx/wxprec.h"
@@ -58,7 +58,7 @@ bool wxStaticText::Create(wxWindow *parent,
 {
     if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) )
         return FALSE;
 {
     if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) )
         return FALSE;
-
+        
     SetLabel(label);
     SetBestSize(size);
 
     SetLabel(label);
     SetBestSize(size);