GCC 3.2 is really picky about friends & dllexport.
Now wxWindows compiles (again) as DLL with MinGW GCC 3.2 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -193,7 +193,7 @@ private:
|
||||
|
||||
class WXDLLEXPORT wxListBase : public wxObject
|
||||
{
|
||||
friend class wxNodeBase; // should be able to call DetachNode()
|
||||
friend class WXDLLEXPORT wxNodeBase; // should be able to call DetachNode()
|
||||
friend class wxHashTableBase; // should be able to call untyped Find()
|
||||
private:
|
||||
// common part of all ctors
|
||||
|
@@ -20,6 +20,8 @@
|
||||
|
||||
WXDLLEXPORT_DATA(extern const wxChar*) wxDialogNameStr;
|
||||
|
||||
class WXDLLEXPORT wxWindowDisabler;
|
||||
|
||||
// Dialog boxes
|
||||
class WXDLLEXPORT wxDialog : public wxDialogBase
|
||||
{
|
||||
@@ -115,7 +117,7 @@ private:
|
||||
|
||||
// while we are showing a modal dialog we disable the other windows using
|
||||
// this object
|
||||
class wxWindowDisabler *m_windowDisabler;
|
||||
wxWindowDisabler *m_windowDisabler;
|
||||
|
||||
DECLARE_DYNAMIC_CLASS(wxDialog)
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
@@ -501,7 +501,7 @@ protected:
|
||||
|
||||
class WXDLLEXPORT wxObjectRefData
|
||||
{
|
||||
friend class wxObject;
|
||||
friend class WXDLLEXPORT wxObject;
|
||||
|
||||
public:
|
||||
wxObjectRefData() : m_count(1) { }
|
||||
|
@@ -73,7 +73,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox)
|
||||
|
||||
class wxCheckListBoxItem : public wxOwnerDrawn
|
||||
{
|
||||
friend class wxCheckListBox;
|
||||
friend class WXDLLEXPORT wxCheckListBox;
|
||||
public:
|
||||
// ctor
|
||||
wxCheckListBoxItem(wxCheckListBox *pParent, size_t nIndex);
|
||||
|
Reference in New Issue
Block a user