]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/screenshotgen/src/screenshot_app.cpp
many fixes; now the application correctly starts up
[wxWidgets.git] / utils / screenshotgen / src / screenshot_app.cpp
index e2b0c85380fb323ac5bf4720b94ed5a1721ca12f..18b7cbe1a8f1d48434e961b5922e7bc4a1a71d78 100644 (file)
 
 
 // ----------------------------------------------------------------------------
-// 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;