#pragma implementation "statpict.h"
#endif
+#include "wx/wxprec.h"
#include "wx/defs.h"
-#include "statpict.h"
+#include "wx/gizmos/statpict.h"
#include "wx/dcclient.h"
#if !USE_SHARED_LIBRARY
wxSize size = s ;
if ( bitmap.Ok() )
{
- if ( size.x == -1 )
+ if ( size.x == wxDefaultSize.x )
size.x = bitmap.GetWidth() ;
- if ( size.y == -1 )
+ if ( size.y == wxDefaultSize.y )
size.y = bitmap.GetHeight() ;
}
OriginalImage = Bitmap.ConvertToImage();
#endif
- if ( id == -1 )
+ if ( id == wxID_ANY )
m_windowId = (int)NewControlId();
else
m_windowId = id;