]> git.saurik.com Git - wxWidgets.git/blobdiff - src/propgrid/advprops.cpp
Don't use a cached best size if the window has a sizer
[wxWidgets.git] / src / propgrid / advprops.cpp
index f1af26b9da4eae129f0de8a1badd5191c83c06e6..c151dcb6cd887b86d77434f03845b2c6cae213be 100644 (file)
@@ -1756,8 +1756,8 @@ wxImageFileProperty::wxImageFileProperty( const wxString& label, const wxString&
 {
     SetAttribute( wxPG_FILE_WILDCARD, wxPGGetDefaultImageWildcard() );
 
-    m_pImage = (wxImage*) NULL;
-    m_pBitmap = (wxBitmap*) NULL;
+    m_pImage = NULL;
+    m_pBitmap = NULL;
 }
 
 wxImageFileProperty::~wxImageFileProperty()