I have a window with a wx.SUNKEN_BORDER inside a wx.StaticBox. Sometimes I .Hide() this window. This works well on Windows and GTK, but on Mac the sunken border remains visible:
This is after I ran .Hide(). I even tried to cancel the sunken borders when I hide, (and ran .Refresh()) but the borders still show.
I don't remember if there is already a ticket for this. It does sound familiar however so you may want to search Trac and then create a ticket if you don't find and existing ticket.
For a workaround you can simply refresh the parent after hiding or reshowing the window with the sunken border.
···
On 7/11/11 8:36 AM, cool-RR wrote:
Hello,
I have a window with a `wx.SUNKEN_BORDER` inside a `wx.StaticBox`.
Sometimes I `.Hide()` this window. This works well on Windows and GTK,
but on Mac the sunken border remains visible:
This issue is not important enough for me personally to submit a ticket, but if it’s important for you just say and I’ll search and create a ticket if there is none.
Thanks,
Ram.
···
On Mon, Jul 11, 2011 at 7:43 PM, Robin Dunn robin@alldunn.com wrote:
On 7/11/11 8:36 AM, cool-RR wrote:
Hello,
I have a window with a wx.SUNKEN_BORDER inside a wx.StaticBox.
Sometimes I .Hide() this window. This works well on Windows and GTK,
This is after I ran .Hide(). I even tried to cancel the sunken borders
when I hide, (and ran .Refresh()) but the borders still show.
What can I do?
I don’t remember if there is already a ticket for this. It does sound familiar however so you may want to search Trac and then create a ticket if you don’t find and existing ticket.
For a workaround you can simply refresh the parent after hiding or reshowing the window with the sunken border.