Page 1 of 1

wxNO_BORDER

Posted: Tue Dec 20, 2005 6:13 pm
by Micha
Hello,

I hope you can help me again.
If I user "wxNO_BORDER", I don't get a border around my window. But there is still a small, tiny black border around the window.
Is there a chance to remove the small rectangle-border or a chance to change the colour?


Thanx,
Micha,

Posted: Tue Dec 20, 2005 6:44 pm
by leio
Knowing the port of wxWidgets you are having this issue with would be extremely helpful for anyone wanting to help you. Might aswell include the version aswell.

Posted: Tue Dec 20, 2005 6:55 pm
by Micha
sorry, I have 2.6.0

Posted: Tue Dec 20, 2005 7:35 pm
by leio
Sorry, but that is the version, not the platform. wxGTK, wxMSW, wxMac, something else? etc

Posted: Tue Dec 20, 2005 7:58 pm
by Micha
Ah, Ok.
wxMSW 2.6.0 / wxMac 2.6.0
But for the moment the "problem" is with wxMSW 2.6.0
(Haven't checked it on wxMac 2.6.0)

Thanx for your help,
Micha.

Posted: Tue Dec 20, 2005 10:23 pm
by Micha
Good evening,

to come back to the problem:
wxBORDER_NONE
-> was the one I looked for or which solved my problem...


Thanx,
Micha.

Re:

Posted: Sun Jul 10, 2011 12:09 pm
by TriKri
I found this thread on google (6 years after the thread was started), and just to get back to the problem again: wxNO_BORDER is defined as wxBORDER_NONE, so I don't think that changing from wxNO_BORDER to wxBORDER_NONE was the thing that solved your problem, unless the two constants had different values back then when this thread was started. If you have figured out what it was that solved your problem, please tell me, since I'm having the same problem; I thin gray border still exists when I display the frame in fullscreen with wxFULLSCREEN_ALL. I will start a new thread about that though.

Edit: My problem was solved by setting wxNO_BORDER as style to my wxGLCanvas that I used and covered my screen.