+
+ // after calling Maximize() the client code expects to get the frame
+ // "real" size and doesn't want to know that, because of implementation
+ // details, the frame isn't really maximized yet but will be only once
+ // it's shown, so return our size as it will be then in this case
+
+ // we don't know which display we're on yet so use the default one
+ SetSize(wxGetClientDisplayRect().GetSize());