[wx-dev] #12020: Make wxHtmlWindow::ScrollToAnchor public instead or protected

2 views
Skip to first unread message

wxTrac

unread,
May 5, 2010, 2:07:41 PM5/5/10
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/12020>

#12020: Make wxHtmlWindow::ScrollToAnchor public instead or protected
-------------------------+--------------------------------------------------
Reporter: mingodad | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.8.12
Component: wxHtml | Version:
Keywords: | Blockedby:
Patch: 0 | Blocking:
-------------------------+--------------------------------------------------
The wxHtmlWindow::ScrollToAnchor is a useful function and I don't think it
has any reason to be protected, I'm using wxLua and it doesn't expose it
because it isn't public.

I did modified my own wxWidgets sources making
wxHtmlWindow::ScrollToAnchor public.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/12020>

--
To unsubscribe, send email to wx-dev+un...@googlegroups.com
or visit http://groups.google.com/group/wx-dev

wxTrac

unread,
May 6, 2010, 12:29:47 AM5/6/10
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/12020#comment:1>

#12020: Make wxHtmlWindow::ScrollToAnchor public instead or protected
--------------------------+-------------------------------------------------
Reporter: mingodad | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone: 2.8.12
Component: wxHtml | Version:
Resolution: wontfix | Keywords:
Blockedby: | Patch: 0
Blocking: |
--------------------------+-------------------------------------------------
Changes (by vaclavslavik):

* status: new => closed
* resolution: => wontfix


Comment:

There is a reason why it isn't public: it's an implementation detail. Use
`LoadPage("#anchor")`, that's the public API.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/12020#comment:1>
Reply all
Reply to author
Forward
0 new messages