]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/gizmos/statpict.cpp
Applied patch [ 1171542 ] access static class members via scoping operator
[wxWidgets.git] / contrib / src / gizmos / statpict.cpp
index 5f6ce086de753390535c2367a06389ae3ce50895..42f38b202b9d0f3007a665e009018780290ad43c 100644 (file)
@@ -43,9 +43,9 @@ bool wxStaticPicture::Create(wxWindow *parent, wxWindowID id,
     wxSize size = s ;
     if ( bitmap.Ok() )
     {
-        if ( size.x == wxDefaultSize.x )
+        if ( size.x == wxDefaultCoord )
             size.x = bitmap.GetWidth() ;
-        if ( size.y == wxDefaultSize.y )
+        if ( size.y == wxDefaultCoord )
             size.y = bitmap.GetHeight() ;
     }