2012-04-05 18:27:56 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2018-10-31 18:17:18 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Jul 17 2016)
|
2012-04-05 18:27:56 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2018-10-03 07:50:05 +00:00
|
|
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
2012-04-05 18:27:56 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2018-10-05 14:41:17 +00:00
|
|
|
#ifndef __DIALOG_PRINT_GENERIC_BASE_H__
|
|
|
|
#define __DIALOG_PRINT_GENERIC_BASE_H__
|
2012-04-05 18:27:56 +00:00
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2018-10-03 07:50:05 +00:00
|
|
|
class DIALOG_SHIM;
|
|
|
|
|
2012-04-05 18:27:56 +00:00
|
|
|
#include "dialog_shim.h"
|
|
|
|
#include <wx/string.h>
|
2016-06-19 18:29:13 +00:00
|
|
|
#include <wx/stattext.h>
|
2012-04-05 18:27:56 +00:00
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
2018-06-13 12:20:29 +00:00
|
|
|
#include <wx/choice.h>
|
2018-10-05 14:41:17 +00:00
|
|
|
#include <wx/checkbox.h>
|
2018-06-13 12:20:29 +00:00
|
|
|
#include <wx/gbsizer.h>
|
2018-10-05 14:41:17 +00:00
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/statbox.h>
|
2018-10-03 07:50:05 +00:00
|
|
|
#include <wx/radiobut.h>
|
2018-10-31 14:42:09 +00:00
|
|
|
#include <wx/textctrl.h>
|
2018-06-13 12:20:29 +00:00
|
|
|
#include <wx/statline.h>
|
2018-10-05 14:41:17 +00:00
|
|
|
#include <wx/button.h>
|
2012-04-05 18:27:56 +00:00
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2018-10-05 14:41:17 +00:00
|
|
|
/// Class DIALOG_PRINT_GENERIC_BASE
|
2012-04-05 18:27:56 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2018-10-05 14:41:17 +00:00
|
|
|
class DIALOG_PRINT_GENERIC_BASE : public DIALOG_SHIM
|
2012-04-05 18:27:56 +00:00
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
wxID_FRAME_SEL = 1000,
|
2018-06-13 12:20:29 +00:00
|
|
|
wxID_PRINT_OPTIONS
|
2012-04-05 18:27:56 +00:00
|
|
|
};
|
|
|
|
|
2018-10-05 14:41:17 +00:00
|
|
|
wxBoxSizer* bUpperSizer;
|
|
|
|
wxStaticBoxSizer* sbOptionsSizer;
|
|
|
|
wxGridBagSizer* gbOptionsSizer;
|
2018-06-13 12:20:29 +00:00
|
|
|
wxStaticText* m_outputModeLabel;
|
|
|
|
wxChoice* m_outputMode;
|
2018-10-05 14:41:17 +00:00
|
|
|
wxCheckBox* m_titleBlock;
|
2018-10-03 07:50:05 +00:00
|
|
|
wxRadioButton* m_scale1;
|
|
|
|
wxRadioButton* m_scaleFit;
|
|
|
|
wxRadioButton* m_scaleCustom;
|
|
|
|
wxTextCtrl* m_scaleCustomText;
|
2018-06-13 12:20:29 +00:00
|
|
|
wxStaticLine* m_staticline1;
|
2012-04-05 18:27:56 +00:00
|
|
|
wxButton* m_buttonOption;
|
2018-06-13 12:20:29 +00:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizer1;
|
|
|
|
wxButton* m_sdbSizer1OK;
|
|
|
|
wxButton* m_sdbSizer1Apply;
|
|
|
|
wxButton* m_sdbSizer1Cancel;
|
2012-04-05 18:27:56 +00:00
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
2018-10-05 14:41:17 +00:00
|
|
|
virtual void onClose( wxCloseEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onSetCustomScale( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onPageSetup( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onPrintPreview( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onCloseButton( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onPrintButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
2012-04-05 18:27:56 +00:00
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2018-10-05 14:41:17 +00:00
|
|
|
DIALOG_PRINT_GENERIC_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Print"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 410,476 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
|
|
|
~DIALOG_PRINT_GENERIC_BASE();
|
2012-04-05 18:27:56 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
2018-10-05 14:41:17 +00:00
|
|
|
#endif //__DIALOG_PRINT_GENERIC_BASE_H__
|