]> git.saurik.com Git - wxWidgets.git/commitdiff
Changed wxMenu::GetTitle to return a wxString.
authorJulian Smart <julian@anthemion.co.uk>
Sun, 16 Aug 1998 08:03:13 +0000 (08:03 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 16 Aug 1998 08:03:13 +0000 (08:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/menu.h
include/wx/msw/setup.h
include/wx/stubs/menu.h
src/msw/menu.cpp
src/stubs/menu.cpp
utils/glcanvas/distrib/glcanvas.rsp

index 68f3f67d084ad61bfcd42eb81e05e097c67d3ffd..f5d0a6a1a6e798783308b5f2b150f172e6e3f3ea 100644 (file)
@@ -65,7 +65,7 @@ public:
   // item properties
     // title
   void SetTitle(const wxString& label);
-  const wxString& GetTitle() const;
+  const wxString GetTitle() const;
     // label
   void SetLabel(int id, const wxString& label);
   wxString GetLabel(int id) const;
index 85ff39009bad5bc63fae9fa9873d411edf1dbe63..b75fcc99498ff6a123c778a45df5acf8556e7c0f 100644 (file)
                                // will be used to write, in a portable way,
                                // float on the disk
 
-/*
- * Motif and XView
- *
- */
-
-#define WX_STANDARD_GRAPHICS 0
-                                  // If 1, normalizes X drawing code to behave exactly as
-                                  // as MSW. If 0, is compatible with existing applications.
-                                  // Some Xlib drawing primitives have non-intuitive behaviour!
-
-#define USE_GADGETS                0
-                                    // More efficient to use gadgets for some
-                                    // widgets in Motif. 0 for no gadgets.
-                                    // Please note: there is no reason to not
-                                    // use it except if you intend to modify
-                                    // color of individuals items OR
-                                    // you need to move panel items interactively
-#define USE_BUTTON_GADGET          0
-                                    // On JACS's system, gadget buttons
-                                    // interfere with default button setting.
-#define PIXEL0_DISABLE             0
-                                    // Define as 1 to disallow allocation
-                                    // of pixel #0 (wxXOR problem).
-                                    // JACS - I found this caused problems.
-
-#define MOTIF_MENUBAR_DELETE_FIX   0
-                                    // On some systems (Ultrix, OSF), deleting a frame
-                                    // from within a menu callback causes a crash.
-                                    // Set to 1 to avoid deleting the menubar handle directly,
-                                    // which seems to cure it.
-#define        DEFAULT_FILE_SELECTOR_SIZE 0
-                                   // Let Motif defines the size of File
-                                   // Selector Box (if 1), or fix it to
-                                   // wxFSB_WIDTH x wxFSB_HEIGHT (if 0)
-#define        wxFSB_WIDTH                600
-#define wxFSB_HEIGHT               500
-
-#define        MOTIF_MANAGE               1
-                                   // Control default style of Dialogs
-                                   // 1: use wxMOTIF_RESIZE as default
-                                   // 0: do not use wxMOTIF_RESIZE as default
-
-
 /*
  * MS Windows/Windows NT
  *
                                     // Switching this off also switches off
                                     // the printing architecture and interactive
                                     // wxPrinterDC.
-#define USE_GREY_BACKGROUND        1
-                                    // If 1, uses grey (gray!) panels
-                                    // in FAFA and non-FAFA, non-CTL3D modes.
-                                    // I (JACS) think the controls look better
-                                    // this way. CTL3D always uses grey panels.
 #define USE_ITSY_BITSY             1
                                     // Define 1 to use Microsoft's ItsyBitsy
-                                    // small title bar library
+                                    // small title bar library, for wxMiniFrame
 #define USE_BITMAP_MESSAGE         1
                                     // Define 1 to use bitmap messages.
 #define USE_PORTABLE_FONTS_IN_MSW  0
index 16546021418351d8402488467c716f4a9385c855..8f1323723c296de132484640e3546fad04b76626 100644 (file)
@@ -65,7 +65,7 @@ public:
   // item properties
     // title
   void SetTitle(const wxString& label);
-  const wxString& GetTitle() const;
+  const wxString GetTitle() const;
     // label
   void SetLabel(int id, const wxString& label);
   wxString GetLabel(int id) const;
index 4a1f194854d01955038de5b947348b1d492e8080..097a1238545ef49cc6954e00a30a9d76e2558425 100644 (file)
@@ -312,7 +312,7 @@ void wxMenu::SetTitle(const wxString& label)
              (UINT)-2, (const char *)m_title);
 }
 
-const wxString& wxMenu::GetTitle() const
+const wxString wxMenu::GetTitle() const
 {
    return m_title;
 }
index 78406135755005717f0e3b3540d0bd73b5f6d312..be4e10eba7163df8b0009a4c95ba234c1ce58b90 100644 (file)
@@ -181,7 +181,7 @@ void wxMenu::SetTitle(const wxString& label)
     // TODO
 }
 
-const wxString& wxMenu::GetTitle() const
+const wxString wxMenu::GetTitle() const
 {
     return m_title;
 }
index 0b2e773fa27b49d01e03a85d3b85d108fcb06265..8467e2171259ea56ed1c3dae703fef9536814b02 100644 (file)
@@ -1,7 +1,7 @@
-lib/dummy
-src/win/*.cpp
-src/win/*.h
-src/win/make*.*
+docs/*.*
+win/*.cpp
+win/*.h
+win/make*.*
 samples/cube/*.cpp
 samples/cube/*.h
 samples/cube/*.rc
@@ -14,8 +14,6 @@ samples/isosurf/*.rc
 samples/isosurf/*.ico
 samples/isosurf/*.xbm
 samples/isosurf/*.dat
+samples/isosurf/*.dat.gz
 samples/isosurf/make*.*
-wx/*.h
-wx/*.cpp
-distrib/*.*