]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/display.cpp
fixed crash when using GTK theme
[wxWidgets.git] / src / msw / display.cpp
index 9266bf1b7303370b9274ecc3e649374560e59650..0195c675ffc8cc1ebd0c44f51f0efa01a1d36a7d 100644 (file)
@@ -28,6 +28,7 @@
 #if wxUSE_DISPLAY
 
 #ifndef WX_PRECOMP
+    #include "wx/msw/missing.h"
     #include "wx/dynarray.h"
     #include "wx/app.h"
     #include "wx/frame.h"
@@ -457,7 +458,7 @@ wxRect wxDisplayImplWin32Base::GetClientArea() const
 
 wxString wxDisplayImplWin32Base::GetName() const
 {
-    if ( m_info.m_devName.IsEmpty() )
+    if ( m_info.m_devName.empty() )
         m_info.Initialize();
 
     return m_info.m_devName;