From: John L. <jr...@us...> - 2006-11-02 23:38:41
|
Update of /cvsroot/wxlua/wxLua/apps/wxluaedit/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv27364/wxLua/apps/wxluaedit/src Modified Files: wxluaedit.cpp Log Message: Added wxDisplay and friends Added more wxDateTimeXXX classes update to compile in wxWidgets 2.7.2 Index: wxluaedit.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/apps/wxluaedit/src/wxluaedit.cpp,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** wxluaedit.cpp 3 Oct 2006 19:52:16 -0000 1.25 --- wxluaedit.cpp 2 Nov 2006 23:38:07 -0000 1.26 *************** *** 225,229 **** --- 225,233 ---- wxLuaEditorFrame *frame = new wxLuaEditorFrame(_T("wxLuaEditor"), wxDefaultPosition, wxSize(600, 400)); + #if wxCHECK_VERSION(2,7,1) + frame->SetSizeHints(wxSize(300, 300)); + #else // < 2.7.1 frame->SetMinSize(wxSize(300, 300)); + #endif // wxCHECK_VERSION(2,7,1) frame->CreateOptions(steOptions); wxIcon icon; |