Added a comment for close event handlers in DIALOG_PRINT_GENERIC

This commit is contained in:
Maciej Suminski 2018-11-07 09:31:40 +01:00
parent e789542ba4
commit 3e8b3e535a
1 changed files with 3 additions and 1 deletions

View File

@ -86,9 +86,11 @@ private:
void onPrintPreview( wxCommandEvent& event ) override;
void onPrintButtonClick( wxCommandEvent& event ) override;
// Needed to execute onClose handler
// onClose* handlers are needed to save the dialogs settings as TransferDataFromWindow()
// is not called for 'Cancel' button that closes the window
void onCloseButton( wxCommandEvent& event ) override;
void onClose( wxCloseEvent& event ) override;
void onSetCustomScale( wxCommandEvent& event ) override;
void initPrintData();