]> git.saurik.com Git - wxWidgets.git/blobdiff - src/aui/floatpane.cpp
Style application fixes
[wxWidgets.git] / src / aui / floatpane.cpp
index e6cc0869501c276cdd2f951b404c0d2ff351492a..7374837fb3defc6fcc73f434622b861b9090733f 100644 (file)
@@ -50,7 +50,7 @@ wxAuiFloatingFrame::wxAuiFloatingFrame(wxWindow* parent,
                         pane.floating_pos, pane.floating_size,
                         style | 
                         (pane.HasCloseButton()?wxCLOSE_BOX:0) |
-                        (pane.HasMaximizeButton()?wxMAXIMIZE:0) |
+                        (pane.HasMaximizeButton()?wxMAXIMIZE_BOX:0) |
                         (pane.IsFixed()?0:wxRESIZE_BORDER)
                         )
 {