This keyword is not expanded by Git which means it's not replaced with the correct revision value in the releases made using git-based scripts and it's confusing to have lines with unexpanded "$Id$" in the released files. As expanding them with Git is not that simple (it could be done with git archive and export-subst attribute) and there are not many benefits in having them in the first place, just remove all these lines. If nothing else, this will make an eventual transition to Git simpler. Closes #14487. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
45 lines
1.2 KiB
C++
45 lines
1.2 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: screenshot_app.cpp
|
|
// Purpose: Implement Application Class
|
|
// Author: Utensil Candel (UtensilCandel@@gmail.com)
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// For compilers that support precompilation, includes "wx/wx.h".
|
|
#include "wx/wxprec.h"
|
|
|
|
#ifdef __BORLANDC__
|
|
#pragma hdrstop
|
|
#endif
|
|
|
|
// for all others, include the necessary headers wxWidgets headers)
|
|
#ifndef WX_PRECOMP
|
|
#include "wx/wx.h"
|
|
#endif
|
|
|
|
#include "wx/richtext/richtextxml.h"
|
|
|
|
#include "screenshot_app.h"
|
|
#include "screenshot_main.h"
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// ScreenshotApp
|
|
// ----------------------------------------------------------------------------
|
|
|
|
IMPLEMENT_APP(ScreenshotApp);
|
|
|
|
bool ScreenshotApp::OnInit()
|
|
{
|
|
// Init all Image handlers
|
|
wxInitAllImageHandlers();
|
|
|
|
// Add richtext extra handlers (plain text is automatically added)
|
|
wxRichTextBuffer::AddHandler(new wxRichTextXMLHandler);
|
|
|
|
ScreenshotFrame* frame = new ScreenshotFrame(0L);
|
|
frame->Show();
|
|
|
|
return true;
|
|
}
|