X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0d5eda9ccdc4c24ac09f58bd0cb6a0709e9ead72..81d3348a9b8c0600424e159b67544b26bea77d4f:/utils/screenshotgen/src/screenshot_app.cpp diff --git a/utils/screenshotgen/src/screenshot_app.cpp b/utils/screenshotgen/src/screenshot_app.cpp index e2b0c85380..329a1cbdeb 100644 --- a/utils/screenshotgen/src/screenshot_app.cpp +++ b/utils/screenshotgen/src/screenshot_app.cpp @@ -10,27 +10,27 @@ #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 +#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;