diff options
| author | hthh <hthh@hh.ht> | 2016-11-18 21:20:27 +1100 |
|---|---|---|
| committer | Dougall Johnson <a@dou.gl> | 2016-11-18 21:32:12 +1100 |
| commit | 4d2f058fe8b82dd6edfa9ef6b540d0436ed8e23e (patch) | |
| tree | 85c2111168fbde82af25536f3c10094e10c46277 /Source/Core/DolphinWX/Frame.cpp | |
| parent | 6c16f1be8a9dffc40872c919fde6bebe096d139e (diff) | |
DolphinWX: Fix toolbar creation on macOS
Diffstat (limited to 'Source/Core/DolphinWX/Frame.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Frame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp index 290b1a8e10..7edf138606 100644 --- a/Source/Core/DolphinWX/Frame.cpp +++ b/Source/Core/DolphinWX/Frame.cpp @@ -324,7 +324,7 @@ CFrame::CFrame(wxFrame* parent, wxWindowID id, const wxString& title, wxRect geo g_pCodeWindow->Load(); } - wxFrame::CreateToolBar(wxTB_DEFAULT_STYLE | wxTB_TEXT | wxTB_FLAT); + wxFrame::CreateToolBar(wxTB_DEFAULT_STYLE | wxTB_TEXT | wxTB_FLAT)->Realize(); // Give it a status bar SetStatusBar(CreateStatusBar(2, wxST_SIZEGRIP, ID_STATUSBAR)); |
