X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a2d49353d4ac77775d5c513e55940175458faa1c..0966aee3d9eac832fe7dcf66db2eb06e76c51da5:/contrib/src/gizmos/statpict.cpp?ds=sidebyside diff --git a/contrib/src/gizmos/statpict.cpp b/contrib/src/gizmos/statpict.cpp index 5f6ce086de..42f38b202b 100644 --- a/contrib/src/gizmos/statpict.cpp +++ b/contrib/src/gizmos/statpict.cpp @@ -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() ; }