#include "wx/sysopt.h"
#endif
-#include "ToolUtils.h"
+#include <ToolUtils.h>
#define wxMAC_DEBUG_REDRAW 0
if ( m_x < 20 )
m_x = 20 ;
- m_width = size.x;
- if (m_width == -1)
- m_width = 20;
- m_height = size.y;
- if (m_height == -1)
- m_height = 20;
+ m_width = WidthDefault(size.x);
+ m_height = HeightDefault(size.y);
::SetRect(&theBoundsRect, m_x, m_y , m_x + m_width, m_y + m_height);