image.LoadFile( dir + wxString("test.png"), wxBITMAP_TYPE_PNG );
my_square = new wxBitmap( image.ConvertToBitmap() );
+
+ (void)new wxTextCtrl( this, -1, "", wxPoint(10,200), wxSize(120,-1) );
CreateAntiAliasedBitmap();
}
wxCHECK_RET( m_wxwindow != NULL, "window needs client area for scrolling" );
+ wxNode *node = m_children.First();
+ while (node)
+ {
+ wxWindow *child = (wxWindow*) node->Data();
+ child->Move( child->m_x + dx, child->m_y + dy );
+ node = node->Next();
+ }
+
int cw = 0;
int ch = 0;
GetClientSize( &cw, &ch );
wxCHECK_RET( m_wxwindow != NULL, "window needs client area for scrolling" );
+ wxNode *node = m_children.First();
+ while (node)
+ {
+ wxWindow *child = (wxWindow*) node->Data();
+ child->Move( child->m_x + dx, child->m_y + dy );
+ node = node->Next();
+ }
+
int cw = 0;
int ch = 0;
GetClientSize( &cw, &ch );