]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/statbmpg.cpp
allow passing literal strings and results of c_str() to SetXXXLabels() methods too
[wxWidgets.git] / src / generic / statbmpg.cpp
index 2a094d91eab9ef124ba46c09a9da73a382f0dec3..da1ad895cfe3f07344cb996437f93b0b950b0711 100644 (file)
@@ -1,6 +1,6 @@
 ///////////////////////////////////////////////////////////////////////////////
 // Name:        src/generic/statbmp.cpp
-// Purpose:     wxGenericStaticBitmap 
+// Purpose:     wxGenericStaticBitmap
 // Author:      Marcin Wojdyr, Stefan Csomor
 // Created:     2008-06-16
 // RCS-ID:      $Id$
 
 #if wxUSE_STATBMP
 
-#include "wx/generic/statbmpg.h"
+#ifndef WX_PRECOMP
+    #include "wx/dcclient.h"
+#endif
 
+#include "wx/generic/statbmpg.h"
 
 IMPLEMENT_DYNAMIC_CLASS(wxGenericStaticBitmap, wxStaticBitmapBase)
 
-bool wxGenericStaticBitmap::Create(wxWindow *parent, wxWindowID id, 
+bool wxGenericStaticBitmap::Create(wxWindow *parent, wxWindowID id,
                                    const wxBitmap& bitmap,
                                    const wxPoint& pos, const wxSize& size,
                                    long style, const wxString& name)
 {
-    if (! wxControl::Create(parent, id, pos, size, style, 
+    if (! wxControl::Create(parent, id, pos, size, style,
                             wxDefaultValidator, name))
         return false;
     SetBitmap(bitmap);