]> git.saurik.com Git - wxWidgets.git/commitdiff
remove inline from declaration of functions which are not inline
authorPaul Cornett <paulcor@bullseye.com>
Mon, 1 Jan 2007 19:49:10 +0000 (19:49 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Mon, 1 Jan 2007 19:49:10 +0000 (19:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/aui/tabmdi.h
include/wx/generic/splitter.h
include/wx/msw/treectrl.h
src/common/docview.cpp
src/common/tarstrm.cpp
src/common/zipstrm.cpp
src/msw/ole/droptgt.cpp
src/msw/registry.cpp

index 43b9479bb7874823489cda6527bf82f14d3cd411..ac4af06e7092e11e5bd1fc2cebb125512c8c4fb4 100644 (file)
@@ -74,7 +74,7 @@ public:
     virtual bool ProcessEvent(wxEvent& event);
 
     wxAuiMDIChildFrame *GetActiveChild() const;
-    inline void SetActiveChild(wxAuiMDIChildFrame* pChildFrame);
+    void SetActiveChild(wxAuiMDIChildFrame* pChildFrame);
 
     wxAuiMDIClientWindow *GetClientWindow() const;
     virtual wxAuiMDIClientWindow *OnCreateClient();
index 4d1f25d8a9ee75a4742bf9d4f1730c25c99f35ba..db76b8e309f7bac6283ae520e5d90aa31fdd385f 100644 (file)
@@ -9,8 +9,8 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifndef __SPLITTERH_G__
-#define __SPLITTERH_G__
+#ifndef _WX_GENERIC_SPLITTER_H_
+#define _WX_GENERIC_SPLITTER_H_
 
 #include "wx/window.h"                      // base class declaration
 #include "wx/containr.h"                    // wxControlContainer
@@ -226,7 +226,7 @@ protected:
 
     // send the given event, return false if the event was processed and vetoed
     // by the user code
-    inline bool DoSendEvent(wxSplitterEvent& event);
+    bool DoSendEvent(wxSplitterEvent& event);
 
     // common part of all ctors
     void Init();
@@ -403,4 +403,4 @@ typedef void (wxEvtHandler::*wxSplitterEventFunction)(wxSplitterEvent&);
 #define EVT_SPLITTER_UNSPLIT(id, fn) \
     wx__DECLARE_SPLITTEREVT(UNSPLIT, id, fn)
 
-#endif // __SPLITTERH_G__
+#endif // _WX_GENERIC_SPLITTER_H_
index cc9e17c60c3f07f22e306c762d3051b4163951ba..88b118bad946149ff568939fb69fd34065029e42 100644 (file)
@@ -273,10 +273,10 @@ private:
     void Init();
 
     // helper functions
-    inline bool DoGetItem(wxTreeViewItem *tvItem) const;
-    inline void DoSetItem(wxTreeViewItem *tvItem);
+    bool DoGetItem(wxTreeViewItem *tvItem) const;
+    void DoSetItem(wxTreeViewItem *tvItem);
 
-    inline void DoExpand(const wxTreeItemId& item, int flag);
+    void DoExpand(const wxTreeItemId& item, int flag);
 
     void DeleteTextCtrl();
 
index 0e26b04b6b6428b15126f750cff26c30aeaedb04..ea677c4487c544268eb3ea3cb679545d96272fd8 100644 (file)
@@ -95,7 +95,6 @@ IMPLEMENT_DYNAMIC_CLASS(wxFileHistory, wxObject)
 // function prototypes
 // ----------------------------------------------------------------------------
 
-static inline wxString FindExtension(const wxChar *path);
 static wxWindow* wxFindSuitableParent(void);
 
 // ----------------------------------------------------------------------------
index c7cdf1e183eb31b5f1b7c6113999aeb35b85074e..fb4011cb96aa00a34c4e3b13e81b0b37ed8b23bd 100644 (file)
@@ -133,7 +133,7 @@ public:
 
     bool Read(wxInputStream& in);
     bool Write(wxOutputStream& out);
-    inline bool WriteField(wxOutputStream& out, int id);
+    bool WriteField(wxOutputStream& out, int id);
 
     bool IsAllZeros() const;
     wxUint32 Sum(bool SignedSum = false);
index eff8cc54f0a9d351dba8b46621e04e57d0b619f6..fae269024ccec01536f4993546d1a332f7636d04 100644 (file)
@@ -173,9 +173,9 @@ class wxZipHeader
 public:
     wxZipHeader(wxInputStream& stream, size_t size);
 
-    inline wxUint8 Read8();
-    inline wxUint16 Read16();
-    inline wxUint32 Read32();
+    wxUint8 Read8();
+    wxUint16 Read16();
+    wxUint32 Read32();
 
     const char *GetData() const             { return m_data; }
     size_t GetSize() const                  { return m_size; }
index 84d718ff17aada2cbd0eb55c2b953b2b3de09bba..be6d4fcdfb2d176a9f8bc1a355ba85f655df595c 100644 (file)
@@ -80,7 +80,7 @@ protected:
     HWND          m_hwnd;         // window we're associated with
 
     // get default drop effect for given keyboard flags
-    static inline DWORD GetDropEffect(DWORD flags, wxDragResult defaultAction);
+    static DWORD GetDropEffect(DWORD flags, wxDragResult defaultAction);
 
     DECLARE_NO_COPY_CLASS(wxIDropTarget)
 };
index 674ebaf3a3ae2abf7f9ab450e430ac404fb99cf2..3c31939c812bef14ce359d4bf3f1864429334642 100644 (file)
@@ -108,7 +108,7 @@ aStdKeys[] =
 // ----------------------------------------------------------------------------
 
 // removes the trailing backslash from the string if it has one
-static inline void RemoveTrailingSeparator(wxString& str);
+static void RemoveTrailingSeparator(wxString& str);
 
 // returns true if given registry key exists
 static bool KeyExists(WXHKEY hRootKey, const wxChar *szKey);