remove inline from declaration of functions which are not inline

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2007-01-01 19:49:10 +00:00
parent 9f5e5c31a8
commit ffdbfc4a76
8 changed files with 14 additions and 15 deletions

View File

@@ -74,7 +74,7 @@ public:
virtual bool ProcessEvent(wxEvent& event); virtual bool ProcessEvent(wxEvent& event);
wxAuiMDIChildFrame *GetActiveChild() const; wxAuiMDIChildFrame *GetActiveChild() const;
inline void SetActiveChild(wxAuiMDIChildFrame* pChildFrame); void SetActiveChild(wxAuiMDIChildFrame* pChildFrame);
wxAuiMDIClientWindow *GetClientWindow() const; wxAuiMDIClientWindow *GetClientWindow() const;
virtual wxAuiMDIClientWindow *OnCreateClient(); virtual wxAuiMDIClientWindow *OnCreateClient();

View File

@@ -9,8 +9,8 @@
// Licence: wxWindows licence // Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
#ifndef __SPLITTERH_G__ #ifndef _WX_GENERIC_SPLITTER_H_
#define __SPLITTERH_G__ #define _WX_GENERIC_SPLITTER_H_
#include "wx/window.h" // base class declaration #include "wx/window.h" // base class declaration
#include "wx/containr.h" // wxControlContainer #include "wx/containr.h" // wxControlContainer
@@ -226,7 +226,7 @@ protected:
// send the given event, return false if the event was processed and vetoed // send the given event, return false if the event was processed and vetoed
// by the user code // by the user code
inline bool DoSendEvent(wxSplitterEvent& event); bool DoSendEvent(wxSplitterEvent& event);
// common part of all ctors // common part of all ctors
void Init(); void Init();
@@ -403,4 +403,4 @@ typedef void (wxEvtHandler::*wxSplitterEventFunction)(wxSplitterEvent&);
#define EVT_SPLITTER_UNSPLIT(id, fn) \ #define EVT_SPLITTER_UNSPLIT(id, fn) \
wx__DECLARE_SPLITTEREVT(UNSPLIT, id, fn) wx__DECLARE_SPLITTEREVT(UNSPLIT, id, fn)
#endif // __SPLITTERH_G__ #endif // _WX_GENERIC_SPLITTER_H_

View File

@@ -273,10 +273,10 @@ private:
void Init(); void Init();
// helper functions // helper functions
inline bool DoGetItem(wxTreeViewItem *tvItem) const; bool DoGetItem(wxTreeViewItem *tvItem) const;
inline void DoSetItem(wxTreeViewItem *tvItem); void DoSetItem(wxTreeViewItem *tvItem);
inline void DoExpand(const wxTreeItemId& item, int flag); void DoExpand(const wxTreeItemId& item, int flag);
void DeleteTextCtrl(); void DeleteTextCtrl();

View File

@@ -95,7 +95,6 @@ IMPLEMENT_DYNAMIC_CLASS(wxFileHistory, wxObject)
// function prototypes // function prototypes
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
static inline wxString FindExtension(const wxChar *path);
static wxWindow* wxFindSuitableParent(void); static wxWindow* wxFindSuitableParent(void);
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@@ -133,7 +133,7 @@ public:
bool Read(wxInputStream& in); bool Read(wxInputStream& in);
bool Write(wxOutputStream& out); bool Write(wxOutputStream& out);
inline bool WriteField(wxOutputStream& out, int id); bool WriteField(wxOutputStream& out, int id);
bool IsAllZeros() const; bool IsAllZeros() const;
wxUint32 Sum(bool SignedSum = false); wxUint32 Sum(bool SignedSum = false);

View File

@@ -173,9 +173,9 @@ class wxZipHeader
public: public:
wxZipHeader(wxInputStream& stream, size_t size); wxZipHeader(wxInputStream& stream, size_t size);
inline wxUint8 Read8(); wxUint8 Read8();
inline wxUint16 Read16(); wxUint16 Read16();
inline wxUint32 Read32(); wxUint32 Read32();
const char *GetData() const { return m_data; } const char *GetData() const { return m_data; }
size_t GetSize() const { return m_size; } size_t GetSize() const { return m_size; }

View File

@@ -80,7 +80,7 @@ protected:
HWND m_hwnd; // window we're associated with HWND m_hwnd; // window we're associated with
// get default drop effect for given keyboard flags // 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) DECLARE_NO_COPY_CLASS(wxIDropTarget)
}; };

View File

@@ -108,7 +108,7 @@ aStdKeys[] =
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// removes the trailing backslash from the string if it has one // 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 // returns true if given registry key exists
static bool KeyExists(WXHKEY hRootKey, const wxChar *szKey); static bool KeyExists(WXHKEY hRootKey, const wxChar *szKey);