Added some WXDLLEXPORTs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -25,9 +25,9 @@
|
|||||||
#include "wx/window.h"
|
#include "wx/window.h"
|
||||||
|
|
||||||
|
|
||||||
class wxHtmlLinkInfo;
|
class WXDLLEXPORT wxHtmlLinkInfo;
|
||||||
class wxHtmlCell;
|
class WXDLLEXPORT wxHtmlCell;
|
||||||
class wxHtmlContainerCell;
|
class WXDLLEXPORT wxHtmlContainerCell;
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------
|
||||||
// wxHtmlCell
|
// wxHtmlCell
|
||||||
@@ -96,7 +96,7 @@ class WXDLLEXPORT wxHtmlCell : public wxObject
|
|||||||
// Parent is pointer to wxHtmlWindow that generated the event
|
// Parent is pointer to wxHtmlWindow that generated the event
|
||||||
// HINT: if this handling is not enough for you you should use
|
// HINT: if this handling is not enough for you you should use
|
||||||
// wxHtmlBinderCell
|
// wxHtmlBinderCell
|
||||||
|
|
||||||
virtual bool AdjustPagebreak(int *pagebreak);
|
virtual bool AdjustPagebreak(int *pagebreak);
|
||||||
// This method used to adjust pagebreak position. The parameter is
|
// This method used to adjust pagebreak position. The parameter is
|
||||||
// variable that contains y-coordinate of page break (= horizontal line that
|
// variable that contains y-coordinate of page break (= horizontal line that
|
||||||
@@ -106,7 +106,7 @@ class WXDLLEXPORT wxHtmlCell : public wxObject
|
|||||||
//
|
//
|
||||||
// Returned value : true if pagebreak was modified, false otherwise
|
// Returned value : true if pagebreak was modified, false otherwise
|
||||||
// Usage : while (container->AdjustPagebreak(&p)) {}
|
// Usage : while (container->AdjustPagebreak(&p)) {}
|
||||||
|
|
||||||
void SetCanLiveOnPagebreak(bool can) {m_CanLiveOnPagebreak = can;}
|
void SetCanLiveOnPagebreak(bool can) {m_CanLiveOnPagebreak = can;}
|
||||||
// Sets cell's behaviour on pagebreaks (see AdjustPagebreak). Default
|
// Sets cell's behaviour on pagebreaks (see AdjustPagebreak). Default
|
||||||
// is true - the cell can be split on two pages
|
// is true - the cell can be split on two pages
|
||||||
@@ -308,21 +308,21 @@ class WXDLLEXPORT wxHtmlWidgetCell : public wxHtmlCell
|
|||||||
// Internal data structure. It represents hypertext link
|
// Internal data structure. It represents hypertext link
|
||||||
//--------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------
|
||||||
|
|
||||||
class wxHtmlLinkInfo : public wxObject
|
class WXDLLEXPORT wxHtmlLinkInfo : public wxObject
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxHtmlLinkInfo() : wxObject()
|
wxHtmlLinkInfo() : wxObject()
|
||||||
{ m_Href = m_Target = wxEmptyString; }
|
{ m_Href = m_Target = wxEmptyString; }
|
||||||
wxHtmlLinkInfo(const wxString& href, const wxString& target = wxEmptyString) : wxObject()
|
wxHtmlLinkInfo(const wxString& href, const wxString& target = wxEmptyString) : wxObject()
|
||||||
{ m_Href = href; m_Target = target; }
|
{ m_Href = href; m_Target = target; }
|
||||||
wxHtmlLinkInfo(const wxHtmlLinkInfo& l)
|
wxHtmlLinkInfo(const wxHtmlLinkInfo& l)
|
||||||
{ m_Href = l.m_Href, m_Target = l.m_Target; }
|
{ m_Href = l.m_Href, m_Target = l.m_Target; }
|
||||||
wxHtmlLinkInfo& operator=(const wxHtmlLinkInfo& l)
|
wxHtmlLinkInfo& operator=(const wxHtmlLinkInfo& l)
|
||||||
{ m_Href = l.m_Href, m_Target = l.m_Target; return *this; }
|
{ m_Href = l.m_Href, m_Target = l.m_Target; return *this; }
|
||||||
|
|
||||||
wxString GetHref() const { return m_Href; }
|
wxString GetHref() const { return m_Href; }
|
||||||
wxString GetTarget() const { return m_Target; }
|
wxString GetTarget() const { return m_Target; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
wxString m_Href, m_Target;
|
wxString m_Href, m_Target;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user