Advertisement
asqapro

RobotCgen - gui-implement

Jul 10th, 2013
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.79 KB | None | 0 0
  1. /***************************************************************
  2.  * Name:      RobotCGenApp.cpp
  3.  * Purpose:   Code for Application Class
  4.  * Author:    Jeff Goldman
  5.  * Created:   2013-07-08
  6.  * Copyright: Jeff Goldman ()
  7.  * License:
  8.  **************************************************************/
  9.  
  10. #include "RobotCGenApp.h"
  11.  
  12. //(*AppHeaders
  13. #include "RobotCGenMain.h"
  14. #include <wx/image.h>
  15. //*)
  16.  
  17. #include <wx/textdlg.h>
  18.  
  19.  
  20. IMPLEMENT_APP(RobotCGenApp);
  21.  
  22. bool RobotCGenApp::OnInit()
  23. {
  24.     setup();
  25.     //(*AppInitialize
  26.     bool wxsOK = true;
  27.     wxInitAllImageHandlers();
  28.     if(wxsOK)
  29.     {
  30.         create();
  31.     }
  32.     //*)
  33.     return wxsOK;
  34. }
  35.  
  36. void RobotCGenApp::create(){
  37.     RobotCGenFrame* Frame = new RobotCGenFrame(0);
  38.     Frame->Show();
  39.     SetTopWindow(Frame);
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement