X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/977b867e72fe5c836d5af43ac087c943afc463f1..27c2041ff6d4f8db45f3903038d3d92aff4b6328:/include/wx/html/htmlwin.h diff --git a/include/wx/html/htmlwin.h b/include/wx/html/htmlwin.h index 2560670927..adefe1fce2 100644 --- a/include/wx/html/htmlwin.h +++ b/include/wx/html/htmlwin.h @@ -120,9 +120,11 @@ public: void SetRelatedFrame(wxFrame* frame, const wxString& format); wxFrame* GetRelatedFrame() const {return m_RelatedFrame;} +#if wxUSE_STATUSBAR // After(!) calling SetRelatedFrame, this sets statusbar slot where messages // will be displayed. Default is -1 = no messages. void SetRelatedStatusBar(int bar); +#endif // wxUSE_STATUSBAR // Sets fonts to be used when displaying HTML page. void SetFonts(wxString normal_face, wxString fixed_face, @@ -196,6 +198,12 @@ public: void SelectWord(const wxPoint& pos); void SelectLine(const wxPoint& pos); void SelectAll(); + + // Convert selection to text: + wxString SelectionToText() { return DoSelectionToText(m_selection); } + + // Converts current page to text: + wxString ToText(); #endif virtual void ApplyParentThemeBackground(const wxColour& WXUNUSED(bg)) @@ -252,12 +260,6 @@ protected: bool CopySelection(ClipboardType t = Secondary); #if wxUSE_CLIPBOARD - // Convert selection to text: - wxString SelectionToText() { return DoSelectionToText(m_selection); } - - // Converts current page to text: - wxString ToText(); - // Automatic scrolling during selection: void StopAutoScrolling(); #endif // wxUSE_CLIPBOARD @@ -283,9 +285,11 @@ protected: wxFrame *m_RelatedFrame; wxString m_TitleFormat; +#if wxUSE_STATUSBAR // frame in which page title should be displayed & number of it's statusbar // reserved for usage with this html window int m_RelatedStatusBar; +#endif // wxUSE_STATUSBAR // borders (free space between text and window borders) // defaults to 10 pixels.