]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/screenshotgen/src/screenshot_app.cpp
replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
[wxWidgets.git] / utils / screenshotgen / src / screenshot_app.cpp
index e2b0c85380fb323ac5bf4720b94ed5a1721ca12f..329a1cbdeb48cbed1e43212ddfeb474449a2bda7 100644 (file)
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
-    #pragma hdrstop
+#pragma hdrstop
 #endif
 
-// for all others, include the necessary headers
+// for all others, include the necessary headers wxWidgets headers)
 #ifndef WX_PRECOMP
-    #include "wx/wx.h"
+#include "wx/wx.h"
 #endif
 
-#include <wx/richtext/richtextxml.h>
+#include "wx/richtext/richtextxml.h"
 
 #include "screenshot_app.h"
 #include "screenshot_main.h"
 
 
 // ----------------------------------------------------------------------------
-// wxScreenshotApp
+// ScreenshotApp
 // ----------------------------------------------------------------------------
 
-IMPLEMENT_APP(wxScreenshotApp);
+IMPLEMENT_APP(ScreenshotApp);
 
-bool wxScreenshotApp::OnInit()
+bool ScreenshotApp::OnInit()
 {
     // Init all Image handlers
     wxInitAllImageHandlers();
@@ -38,7 +38,7 @@ bool wxScreenshotApp::OnInit()
     // Add richtext extra handlers (plain text is automatically added)
     wxRichTextBuffer::AddHandler(new wxRichTextXMLHandler);
 
-    wxScreenshotFrame* frame = new wxScreenshotFrame(0L);
+    ScreenshotFrame* frame = new ScreenshotFrame(0L);
     frame->Show();
 
     return true;