summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/FrameTools.cpp
diff options
context:
space:
mode:
authorStarsam80 <samraskauskas@gmail.com>2017-04-19 16:13:23 -0600
committerStarsam80 <samraskauskas@gmail.com>2017-04-19 20:06:33 -0600
commita41c0d3caa79849abf405ad16abaaa3a73c378e9 (patch)
tree82ed1a35277637ab50011f06491ba720799d7b0c /Source/Core/DolphinWX/FrameTools.cpp
parent6997515ec167e5bdac03bd885c137b8efd1098e2 (diff)
WX: Don't specify a parent frame for the render frame
Diffstat (limited to 'Source/Core/DolphinWX/FrameTools.cpp')
-rw-r--r--Source/Core/DolphinWX/FrameTools.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp
index e3f268f426..6af333f94d 100644
--- a/Source/Core/DolphinWX/FrameTools.cpp
+++ b/Source/Core/DolphinWX/FrameTools.cpp
@@ -662,7 +662,8 @@ void CFrame::StartGame(const std::string& filename)
// Set window size in framebuffer pixels since the 3D rendering will be operating at
// that level.
wxSize default_size{wxSize(640, 480) * (1.0 / GetContentScaleFactor())};
- m_RenderFrame = new CRenderFrame(this, wxID_ANY, _("Dolphin"), wxDefaultPosition, default_size);
+ m_RenderFrame =
+ new CRenderFrame(nullptr, wxID_ANY, _("Dolphin"), wxDefaultPosition, default_size);
// Convert ClientSize coordinates to frame sizes.
wxSize decoration_fudge = m_RenderFrame->GetSize() - m_RenderFrame->GetClientSize();