Fix double call of TransfertDataToWindows in 3 dialogs.
This commit is contained in:
@@ -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( );
|
||||
|
||||
Reference in New Issue
Block a user