]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/statbmp.cpp
use GetCharHeight in GetHeight() instead of creating temporary wxClientDC
[wxWidgets.git] / src / univ / statbmp.cpp
index 6177e7065b09522abbd347f0f77022928b6dec8a..c71ce2a7b4659ce6c2b9e9e133195bba9b568b5a 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        univ/statbmp.cpp
+// Name:        src/univ/statbmp.cpp
 // Purpose:     wxStaticBitmap implementation
 // Author:      Vadim Zeitlin
 // Modified by:
 
 #if wxUSE_STATBMP
 
+#include "wx/statbmp.h"
+
 #ifndef WX_PRECOMP
     #include "wx/dc.h"
     #include "wx/icon.h"
-    #include "wx/statbmp.h"
     #include "wx/validate.h"
 #endif
 
@@ -105,4 +106,3 @@ void wxStaticBitmap::DoDraw(wxControlRenderer *renderer)
 }
 
 #endif // wxUSE_STATBMP
-