Fix double call of TransfertDataToWindows in 3 dialogs.
This commit is contained in:
parent
4a20f376a3
commit
474e0936cb
|
@ -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( );
|
||||
|
|
Loading…
Reference in New Issue