Re: #4511: wxMac 2.8.6: Drawing to Notebook windows that are not shown

1 view
Skip to first unread message

wxTrac

unread,
Aug 24, 2014, 5:42:24 PM8/24/14
to wx-...@googlegroups.com
#4511: wxMac 2.8.6: Drawing to Notebook windows that are not shown
---------------------------+-----------------------
Reporter: grinsven | Owner: csomor
Type: defect | Status: confirmed
Priority: normal | Milestone:
Component: wxOSX-Carbon | Version:
Resolution: | Keywords:
Blocked By: | Blocking:
Patch: 0 |
---------------------------+-----------------------

Comment (by oneeyeman):

Applying following patch:


{{{
diff -bru wxWidgets.orig/samples/notebook/notebook.cpp
wxWidgets/samples/notebook/notebook.cpp
--- wxWidgets.orig/samples/notebook/notebook.cpp 2014-07-31
21:16:47.000000000 -0700
+++ wxWidgets/samples/notebook/notebook.cpp 2014-08-24
14:38:59.000000000 -0700
@@ -178,7 +178,9 @@

wxPanel *panel = CreateRadioButtonsPage(parent);
parent->AddPage( panel, RADIOBUTTONS_PAGE_NAME, false,
GetIconIndex(parent) );
-
+wxWindowDC dc( panel );
+dc.SetPen( wxPen( *wxBLACK_DASHED_PEN ) );
+dc.DrawLine( 5, 5, 100, 100 );
panel = CreateVetoPage(parent);
parent->AddPage( panel, VETO_PAGE_NAME, false, GetIconIndex(parent)
);


}}}
and running the sample, I don't see any line being drawn on the first
page.

Tested on Cocoa.

This can be closed unless the test is incorrect.

--
Ticket URL: <http://trac.wxwidgets.org/ticket/4511#comment:2>

wxTrac

unread,
Aug 24, 2014, 7:00:28 PM8/24/14
to wx-...@googlegroups.com
#4511: wxMac 2.8.6: Drawing to Notebook windows that are not shown
---------------------------+--------------------
Reporter: grinsven | Owner: csomor
Type: defect | Status: closed
Priority: normal | Milestone:
Component: wxOSX-Carbon | Version:
Resolution: outdated | Keywords:
Blocked By: | Blocking:
Patch: 0 |
---------------------------+--------------------
Changes (by vadz):

* status: confirmed => closed
* resolution: => outdated


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