Fix double call of TransfertDataToWindows in 4 dialogs. make change working on KDE.
This commit is contained in:
parent
ed7c57f19f
commit
e6e77de4fa
|
@ -95,7 +95,7 @@ private:
|
||||||
void OnInitDlg( wxInitDialogEvent& event )
|
void OnInitDlg( wxInitDialogEvent& event )
|
||||||
{
|
{
|
||||||
// Call the default wxDialog handler of a wxInitDialogEvent
|
// Call the default wxDialog handler of a wxInitDialogEvent
|
||||||
event.Skip();
|
TransferDataToWindow();
|
||||||
|
|
||||||
// Now all widgets have the size fixed, call FinishDialogSettings
|
// Now all widgets have the size fixed, call FinishDialogSettings
|
||||||
FinishDialogSettings();
|
FinishDialogSettings();
|
||||||
|
|
|
@ -79,7 +79,7 @@ private:
|
||||||
void OnInitDlg( wxInitDialogEvent& event )
|
void OnInitDlg( wxInitDialogEvent& event )
|
||||||
{
|
{
|
||||||
// Call the default wxDialog handler of a wxInitDialogEvent
|
// Call the default wxDialog handler of a wxInitDialogEvent
|
||||||
event.Skip();
|
TransferDataToWindow();
|
||||||
|
|
||||||
// Now all widgets have the size fixed, call FinishDialogSettings
|
// Now all widgets have the size fixed, call FinishDialogSettings
|
||||||
FinishDialogSettings();
|
FinishDialogSettings();
|
||||||
|
|
|
@ -74,7 +74,7 @@ private:
|
||||||
void OnInitDlg( wxInitDialogEvent& event )
|
void OnInitDlg( wxInitDialogEvent& event )
|
||||||
{
|
{
|
||||||
// Call the default wxDialog handler of a wxInitDialogEvent
|
// Call the default wxDialog handler of a wxInitDialogEvent
|
||||||
event.Skip();
|
TransferDataToWindow();
|
||||||
|
|
||||||
// Now all widgets have the size fixed, call FinishDialogSettings
|
// Now all widgets have the size fixed, call FinishDialogSettings
|
||||||
FinishDialogSettings();
|
FinishDialogSettings();
|
||||||
|
|
|
@ -97,7 +97,7 @@ private:
|
||||||
void OnInitDlg( wxInitDialogEvent& event )
|
void OnInitDlg( wxInitDialogEvent& event )
|
||||||
{
|
{
|
||||||
// Call the default wxDialog handler of a wxInitDialogEvent
|
// Call the default wxDialog handler of a wxInitDialogEvent
|
||||||
event.Skip();
|
TransferDataToWindow();
|
||||||
|
|
||||||
// Now all widgets have the size fixed, call FinishDialogSettings
|
// Now all widgets have the size fixed, call FinishDialogSettings
|
||||||
FinishDialogSettings();
|
FinishDialogSettings();
|
||||||
|
|
Loading…
Reference in New Issue