]> 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 bef5b6e80e881ec675b43c7069cb85f8c4b4f2a8..5bb880a96ef641bafcca943e7eb62a530a21163d 100644 (file)
@@ -42,6 +42,8 @@
 // implementation
 // ============================================================================
 
+IMPLEMENT_ABSTRACT_CLASS(wxStaticText, wxControl)
+
 // ----------------------------------------------------------------------------
 // creation
 // ----------------------------------------------------------------------------
@@ -56,7 +58,7 @@ bool wxStaticText::Create(wxWindow *parent,
 {
     if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) )
         return FALSE;
-
+        
     SetLabel(label);
     SetBestSize(size);