Even that did not help, i am left with a gray dialog, which has the proper
size, but does not show anything but a toolbar.
But in wxLua i found somewhere this:
SetSizeHints(wxSize(400, 400));
GetSizer()->Fit(this);
GetSizer()->SetSizeHints(this);
Centre();
// The size of the frame isn't set when the splitter is created, resize it
wxSplitterWindow *splitWin = m_luaConsole->GetSplitterWin();
splitWin->SetSashPosition( splitWin->GetSize().y/2 );
Don't ask me why it works, but it does :-)
Thanks,
klaas
John Labenski wrote:
>
> m_luaConsole->SetInitialSize(wxSize(400,400);
>
> and/or
>
> m_luaConsole->SetMinSize(wxSize(400,400);
--
Unclassified
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users