Browse Source

make it use GetClientSize instead of GetMinSize for when resizing the panel (though at this point I don't think it's going to help anymore)

jp9000 12 years ago
parent
commit
e1a32f8eac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      obs/window-basic-main.cpp

+ 1 - 1
obs/window-basic-main.cpp

@@ -191,7 +191,7 @@ void OBSBasic::OnResizePreview(wxSizeEvent &event)
 {
 {
 	event.Skip();
 	event.Skip();
 
 
-	wxSize newSize = previewPanel->GetMinSize();
+	wxSize newSize = previewPanel->GetClientSize();
 
 
 	graphics_t graphics = obs_graphics();
 	graphics_t graphics = obs_graphics();
 	if (graphics) {
 	if (graphics) {