Changeset 204
- Timestamp:
- 05/15/2009 12:52:19 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/openyahtzee.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/openyahtzee.cpp
r180 r204 1 // $Header$2 1 /*************************************************************************** 3 * Copyright (C) 2006 by Guy Rutenberg *2 * Copyright (C) 2006-2009 by Guy Rutenberg * 4 3 * guyrutenberg@gmail.com * 5 4 * * … … 19 18 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 20 19 ***************************************************************************/ 21 22 20 23 21 // This is the main source file for the project. It includes the creation of the main window … … 48 46 }; 49 47 50 51 52 48 // Implements MyApp& GetApp() 53 DECLARE_APP(MyApp) /*just to satisfy kdevelop*/;49 DECLARE_APP(MyApp) 54 50 // Give wxWidgets the means to create a MyApp object 55 IMPLEMENT_APP(MyApp) /*just to satisfy kdevelop*/;51 IMPLEMENT_APP(MyApp) 56 52 // Initialize the application 57 53 … … 64 60 main_frame::MainFrame *frame = new main_frame::MainFrame(wxT("Open Yahtzee"), wxDefaultSize, wxDEFAULT_FRAME_STYLE & (~wxRESIZE_BORDER)); 65 61 66 //Show it 62 //Center the frame and show it 63 frame->Centre(true); 67 64 frame->Show(true); 68 65 return true;
Note: See TracChangeset
for help on using the changeset viewer.
