dialog_print_using_printer.h 872 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

#ifndef _DIALOG_PRINT_USING_PRINTER_H_
#define _DIALOG_PRINT_USING_PRINTER_H_


#include "dialog_print_using_printer_base.h"


/**
 * Print schematic dialog.
 *
 * Class derived from DIALOG_PRINT_USING_PRINTER_base created by wxFormBuilder
 */
class DIALOG_PRINT_USING_PRINTER : public DIALOG_PRINT_USING_PRINTER_BASE
{
public:
17
    DIALOG_PRINT_USING_PRINTER( SCH_EDIT_FRAME* aParent );
18 19
    ~DIALOG_PRINT_USING_PRINTER() {};

20
    SCH_EDIT_FRAME* GetParent() const;
21 22 23 24 25 26 27 28 29 30 31 32

private:
    void OnCloseWindow( wxCloseEvent& event );
    void OnInitDialog( wxInitDialogEvent& event );
    void OnPageSetup( wxCommandEvent& event );
    void OnPrintPreview( wxCommandEvent& event );
    void OnPrintButtonClick( wxCommandEvent& event );
    void OnButtonCancelClick( wxCommandEvent& event ){ Close(); }
};


#endif    // _DIALOG_PRINT_USING_PRINTER_H_