Advertisement
Snowsz

OTCMakerApp.cpp

Sep 28th, 2015
96
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /***************************************************************
  2. * Name: OTCMakerApp.cpp
  3. * Purpose: Code for Application Class
  4. * Author: Snowsz (snowsz10@hotmail.com)
  5. * Created: 2015-09-28
  6. * Copyright: Snowsz ()
  7. * License:
  8. **************************************************************/
  9.  
  10. #include "OTCMakerApp.h"
  11.  
  12. //(*AppHeaders
  13. #include "OTCMakerMain.h"
  14. #include <wx/image.h>
  15. //*)
  16.  
  17. IMPLEMENT_APP(OTCMakerApp);
  18.  
  19. bool OTCMakerApp::OnInit()
  20. {
  21. //(*AppInitialize
  22. bool wxsOK = true;
  23. wxInitAllImageHandlers();
  24. if ( wxsOK )
  25. {
  26. OTCMakerDialog Dlg(0);
  27. SetTopWindow(&Dlg);
  28. Dlg.ShowModal();
  29. wxsOK = false;
  30. }
  31. //*)
  32. return wxsOK;
  33.  
  34. }
Advertisement
RAW Paste Data Copied
Advertisement