wxCocoa compilation fixes for visibility (missing DLL export macros)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2007-08-15 13:05:35 +00:00
parent 27539df82b
commit 8da116cf66
8 changed files with 10 additions and 11 deletions

View File

@@ -23,7 +23,7 @@ class WXDLLIMPEXP_FWD_CORE wxTopLevelWindowCocoa;
DECLARE_WXCOCOA_OBJC_CLASS(NSMenuItem);
DECLARE_WXCOCOA_OBJC_CLASS(wxNSWindowDelegate);
class wxCocoaNSWindow
class WXDLLIMPEXP_CORE wxCocoaNSWindow
{
/* NSWindow is a rather special case and requires some extra attention */
WX_DECLARE_OBJC_INTERFACE_HASHMAP(NSWindow)

View File

@@ -50,7 +50,6 @@ public:
virtual ~wxColour();
// accessors
bool Ok() const { return IsOk(); }
bool IsOk() const { return m_cocoaNSColor; }
WX_NSColor GetNSColor() { return m_cocoaNSColor; }

View File

@@ -12,7 +12,7 @@
#ifndef __WX_COCOA_DATAOBJ_H__
#define __WX_COCOA_DATAOBJ_H__
class wxDataObject : public wxDataObjectBase
class WXDLLIMPEXP_CORE wxDataObject : public wxDataObjectBase
{
public:
wxDataObject();

View File

@@ -15,7 +15,7 @@
//=========================================================================
// wxBitmapDataObject is a specialization of wxDataObject for bitmaps
//=========================================================================
class wxBitmapDataObject : public wxBitmapDataObjectBase
class WXDLLIMPEXP_CORE wxBitmapDataObject : public wxBitmapDataObjectBase
{
public:
// ctors
@@ -59,7 +59,7 @@ private:
// wxFileDataObject is a specialization of wxDataObject for file names
//=========================================================================
class wxFileDataObject : public wxFileDataObjectBase
class WXDLLIMPEXP_CORE wxFileDataObject : public wxFileDataObjectBase
{
public:
// implement base class pure virtuals

View File

@@ -18,7 +18,7 @@
// NSView of the content view seems to return the entire window rectangle
// (including decorations). Of course, that is not at all part of the
// Cocoa or OpenStep APIs, but it might be a neat hack.
class wxWindowDC: public wxDC
class WXDLLIMPEXP_CORE wxWindowDC: public wxDC
{
DECLARE_DYNAMIC_CLASS(wxWindowDC)
public:
@@ -38,7 +38,7 @@ protected:
virtual bool CocoaGetBounds(void *rectData);
};
class wxClientDC: public wxWindowDC
class WXDLLIMPEXP_CORE wxClientDC: public wxWindowDC
{
DECLARE_DYNAMIC_CLASS(wxClientDC)
public:
@@ -52,7 +52,7 @@ protected:
virtual bool CocoaUnlockFocus();
};
class wxPaintDC: public wxWindowDC
class WXDLLIMPEXP_CORE wxPaintDC: public wxWindowDC
{
DECLARE_DYNAMIC_CLASS(wxPaintDC)
public:

View File

@@ -19,7 +19,7 @@ DECLARE_WXCOCOA_OBJC_CLASS(wxMDIParentFrameObserver);
class WXDLLIMPEXP_FWD_CORE wxMDIChildFrame;
class WXDLLIMPEXP_FWD_CORE wxMDIClientWindow;
WX_DECLARE_LIST(wxMDIChildFrame, wxCocoaMDIChildFrameList);
WX_DECLARE_EXPORTED_LIST(wxMDIChildFrame, wxCocoaMDIChildFrameList);
// ========================================================================
// wxMDIParentFrame

View File

@@ -16,7 +16,7 @@
class WXDLLIMPEXP_FWD_CORE wxRadioButton;
WX_DECLARE_LIST(wxRadioButton, wxRadioButtonList);
WX_DECLARE_EXPORTED_LIST(wxRadioButton, wxRadioButtonList);
// ========================================================================
// wxRadioButton

View File

@@ -25,7 +25,7 @@ typedef struct _NSPoint NSPoint;
class wxToolBarTool;
class wxToolBar : public wxToolBarBase
class WXDLLIMPEXP_CORE wxToolBar : public wxToolBarBase
{
DECLARE_DYNAMIC_CLASS(wxToolBar)
// ------------------------------------------------------------------------