Fix double call of TransfertDataToWindows in 3 dialogs.

This commit is contained in:
jean-pierre charras
2016-07-04 17:17:09 +02:00
parent 4a20f376a3
commit 474e0936cb
3 changed files with 3 additions and 6 deletions
@@ -95,11 +95,10 @@ private:
void OnInitDlg( wxInitDialogEvent& event )
{
// Call the default wxDialog handler of a wxInitDialogEvent
TransferDataToWindow();
event.Skip();
// Now all widgets have the size fixed, call FinishDialogSettings
FinishDialogSettings();
event.Skip();
}
bool TransferDataToWindow();
@@ -79,11 +79,10 @@ private:
void OnInitDlg( wxInitDialogEvent& event )
{
// Call the default wxDialog handler of a wxInitDialogEvent
TransferDataToWindow();
event.Skip();
// Now all widgets have the size fixed, call FinishDialogSettings
FinishDialogSettings();
event.Skip();
}
};
@@ -97,11 +97,10 @@ private:
void OnInitDlg( wxInitDialogEvent& event )
{
// Call the default wxDialog handler of a wxInitDialogEvent
TransferDataToWindow();
event.Skip();
// Now all widgets have the size fixed, call FinishDialogSettings
FinishDialogSettings();
event.Skip();
}
void SetPrintParameters( );