X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0d5eda9ccdc4c24ac09f58bd0cb6a0709e9ead72..e2c0faf71c4ec2ae9a604d7e9c2850f081bff266:/utils/screenshotgen/src/screenshot_app.cpp diff --git a/utils/screenshotgen/src/screenshot_app.cpp b/utils/screenshotgen/src/screenshot_app.cpp index e2b0c85380..ab90c03653 100644 --- a/utils/screenshotgen/src/screenshot_app.cpp +++ b/utils/screenshotgen/src/screenshot_app.cpp @@ -2,35 +2,34 @@ // Name: screenshot_app.cpp // Purpose: Implement Application Class // Author: Utensil Candel (UtensilCandel@@gmail.com) -// RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // For compilers that support precompilation, includes "wx/wx.h". #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 +37,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;