Update of /cvsroot/audacity/audacity-src/src/widgets
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv6058/src/widgets

Modified Files:
        ExpandingToolBar.cpp 
Log Message:
-Fix missing close box under __WXMSW__

Index: ExpandingToolBar.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/widgets/ExpandingToolBar.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- ExpandingToolBar.cpp        20 May 2007 07:21:57 -0000      1.6
+++ ExpandingToolBar.cpp        21 Jun 2007 13:51:12 -0000      1.7
@@ -773,7 +773,12 @@
                            wxWindowID id,
                            const wxString& name,
                            const wxPoint& pos):
-   wxMiniFrame(parent, id, name, pos, wxSize(1, 1), wxCAPTION|wxCLOSE_BOX),
+   wxMiniFrame(parent, id, name, pos, wxSize(1, 1),
+// Workaround for bug in __WXMSW__.  No close box on a miniframe unless 
wxSYSTEM_MENU is used.
+#ifdef __WXMSW__
+      wxSYSTEM_MENU |
+#endif
+      wxCAPTION|wxCLOSE_BOX),
    mChild(NULL)
 {
 }


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to