]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/screenshotgen/src/screenshot_app.cpp
using scan-line polygon conversion for constructing wxregion
[wxWidgets.git] / utils / screenshotgen / src / screenshot_app.cpp
index e2b0c85380fb323ac5bf4720b94ed5a1721ca12f..128e9b95e49262dd787b9052483837d42b680c78 100644 (file)
@@ -3,34 +3,34 @@
 // 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 <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;