Don't call SetupColours when loading a native dialog
It makes everything grey.
This commit is contained in:
@@ -300,7 +300,6 @@ wxWindow* wxWindow::CreateWindowFromHWND(wxWindow* parent, WXHWND hWnd)
|
|||||||
parent->AddChild(win);
|
parent->AddChild(win);
|
||||||
win->SubclassWin(hWnd);
|
win->SubclassWin(hWnd);
|
||||||
win->AdoptAttributesFromHWND();
|
win->AdoptAttributesFromHWND();
|
||||||
win->SetupColours();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return win;
|
return win;
|
||||||
|
Reference in New Issue
Block a user