2013-03-12 15:17:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
// C++ code generated with wxFormBuilder (version Oct 8 2012)
|
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __DIALOG_PRINT_FOR_MODEDIT_BASE_H__
|
|
|
|
#define __DIALOG_PRINT_FOR_MODEDIT_BASE_H__
|
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
|
|
|
class DIALOG_SHIM;
|
|
|
|
|
|
|
|
#include "dialog_shim.h"
|
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/radiobox.h>
|
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_PRINT_FOR_MODEDIT_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_PRINT_FOR_MODEDIT_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
wxID_PRINT_MODE = 1000,
|
|
|
|
wxID_PRINT_OPTIONS,
|
|
|
|
wxID_PRINT_ALL
|
|
|
|
};
|
|
|
|
|
|
|
|
wxRadioBox* m_ScaleOption;
|
|
|
|
wxRadioBox* m_ModeColorOption;
|
|
|
|
wxButton* m_buttonOption;
|
|
|
|
wxButton* m_buttonPreview;
|
|
|
|
wxButton* m_buttonPrint;
|
|
|
|
wxButton* m_buttonQuit;
|
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
|
|
virtual void OnCloseWindow( wxCloseEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnPageSetup( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnPrintPreview( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnPrintButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnButtonCancelClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
DIALOG_PRINT_FOR_MODEDIT_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Print"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
|
|
|
~DIALOG_PRINT_FOR_MODEDIT_BASE();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__DIALOG_PRINT_FOR_MODEDIT_BASE_H__
|