void UpdateStatusBar(const wxPoint& pos, const wxSize& size)
{
wxString msg;
- msg.Printf(_("pos=(%d, %d), size=%dx%d"),
- pos.x, pos.y, size.x, size.y);
+ wxSize sizeCl = GetClientSize();
+ msg.Printf(_("pos=(%d, %d), size=%dx%d (client=%dx%d)"),
+ pos.x, pos.y,
+ size.x, size.y,
+ sizeCl.x, sizeCl.y);
SetStatusText(msg, 1);
}
// parse the cmd line
int x = 50,
y = 50;
- if ( argc == 2 )
+ if ( argc == 3 )
{
wxSscanf(argv[1], "%d", &x);
wxSscanf(argv[2], "%d", &y);