wxNO_BORDER

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
Micha
Knows some wx things
Knows some wx things
Posts: 25
Joined: Tue Aug 02, 2005 7:07 pm

wxNO_BORDER

Post 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,
leio
Can't get richer than this
Can't get richer than this
Posts: 802
Joined: Mon Dec 27, 2004 10:46 am
Location: Estonia, Tallinn
Contact:

Post 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.
Compilers: gcc-3.3.6, gcc-3.4.5, gcc-4.0.2, gcc-4.1.0 and MSVC6
OS's: Gentoo Linux, WinXP; WX: CVS HEAD

Project Manager of wxMUD - http://wxmud.sf.net/
Developer of wxGTK;
gtk+ port maintainer of OMGUI - http://www.omgui.org/
Micha
Knows some wx things
Knows some wx things
Posts: 25
Joined: Tue Aug 02, 2005 7:07 pm

Post by Micha »

sorry, I have 2.6.0
leio
Can't get richer than this
Can't get richer than this
Posts: 802
Joined: Mon Dec 27, 2004 10:46 am
Location: Estonia, Tallinn
Contact:

Post by leio »

Sorry, but that is the version, not the platform. wxGTK, wxMSW, wxMac, something else? etc
Compilers: gcc-3.3.6, gcc-3.4.5, gcc-4.0.2, gcc-4.1.0 and MSVC6
OS's: Gentoo Linux, WinXP; WX: CVS HEAD

Project Manager of wxMUD - http://wxmud.sf.net/
Developer of wxGTK;
gtk+ port maintainer of OMGUI - http://www.omgui.org/
Micha
Knows some wx things
Knows some wx things
Posts: 25
Joined: Tue Aug 02, 2005 7:07 pm

Post 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.
Micha
Knows some wx things
Knows some wx things
Posts: 25
Joined: Tue Aug 02, 2005 7:07 pm

Post 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.
TriKri
Earned a small fee
Earned a small fee
Posts: 11
Joined: Thu Feb 24, 2011 1:46 am

Re:

Post 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.
Post Reply