Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 20:13

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



wxWidgets - wxAuiNotebook weird style

Discussion on wxWidgets - wxAuiNotebook weird style within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2014
Posts: 442
Received Thanks: 211
wxWidgets - wxAuiNotebook weird style

Hello!,

I recently switched from Qt to wxWidgets and since then I'm really happy about the decision and could not go back.
But now I'm having a weird issue with using wxAuiNotebook...

Before I describe my problem, here's how I built wxWidgets:

1.) Went to
2.) Compiled all projects from the solution in Visual Studio 2015 Community Edtion (msvc14)
3.) Included the "wxWidgets/include/" and "wxWidgets/include/msvc/wx/" path in my project settings
4.) Linked my project with "wxWidgets/lib/vc_lib" (statically)

Everything seems to work just as excepted but for some reason I cannot get the "appropriate" wxAuiNotebook theme:

Image taken from:

I built the example from the webpage and everything compiled fine but instead of getting this wonderfully wxAuiNotebook "Theme/Style", I get greeted with this ugliness:

I know this question may seem futile, but I really need a consistent theme to go along with...

I'm using Windows 7 (x64) btw and the wxAuiNotebook control looks like in the first screenshot when I use the "classic theme" under Windows, but this is not a fix for me.
I really hope someone can help me with this obscure issue/behavior.

(And yes, I've already created a thread in the official forum but maybe someone here has already some experience with wxWidgets. Also feel free to move my topic to the general-coding section, since I don't usually know where to post 3rd party library related questions such as wxWidgets/Qt...)

EDIT: (Solved by a wxForum member):
Apparently this is a new feature in wxWidgets 3.1.x. The old style can be set by calling either of these functions:
Code:
m_auinotebook->SetArtProvider( new wxAuiGenericTabArt() );
// another look
//m_auinotebook->SetArtProvider( new wxAuiSimpleTabArt() );
_asm is offline  
Reply


Similar Threads Similar Threads
C++ wxWidgets Problem
06/27/2013 - C/C++ - 0 Replies
extracting wxwidgets and wanting to compile with mingw now: user-variable-path: "D:\CodeBlocks\MinGW\bin","D:\CodeB locks\MinGW\libexec\gcc\mingw32\4.7.1" system-variable-path: ...; D:\CodeBlocks\MinGW\bin;D:\CodeBlocks\MinGW\libexe c\gcc\mingw32\4.7.1 error in console for the command mingw32-make -f makefile.gcc SHARED=1 UNICODE=1 BUILD=release clean : if exist ..\..\lib\gcc_dll\libwxbase29u_net.a del ..\..\lib\gcc_dll\libwxbase29u _net.a process_begin: CreateProcess(NULL, -c "if...
c++ WxWidgets hack ich brauch hilfe
10/02/2011 - C/C++ - 4 Replies
Hey leute ich weis zwar nicht ob jemand von hier mit wxWidgets arbeitet aber ich brauche hilfe da wx eine eigene FindWindow Funktion hat das ich ja auch gut so aber wenn ich jetzt am schluss mit ner if abfrage abfrage ob auch ein fenster gefunden wurde bekomm ich zurück das keins gefunden wurde egal was für ein fenster ich reinschreibe hier mal mein codeausschnitt hoffentlich könnt ihr was mit anfangen void Hacks4Dlg::WxButton4Click(wxCommandEvent& event) { wxString proc; proc...
Weird.... Just weird ( inside )
08/05/2011 - Shaiya Private Server - 14 Replies
Windows 2008 webserver S2 , service pack 4 , 64 bit Os. when i go to install Sql 2005 it does its little pre install check list, well i get a warning on asp.net , it tells me that 64 bit is installed and mysql report services require 32 bit.. So i sorta stumble around a bit, well i ran across Banes tut on sql 2008 , so i thought allright lets try it. as i click on the installserver.bat for the client,, the cmd prompt comes up, goes thew it steps, then tells me that Shaiya is not...
[c++] Frage!! Problem mit WxWidgets
04/30/2010 - C/C++ - 3 Replies
Hi Ich habe vor einiger zeit mit c++ angefangen und wollte jetzt mal ein bisschen mit wxwidgets rumspielen um grafisch auch mal was zu verändern... Ok und da ist auch gleich das erste Problem: Ich habe mir das Setup gedownloaded und installiert aber ich schaffs einfach nicht, die Header-Dateien im Programm einzubinden... (Ich benutze Visual c++ (2008)) Kann mir jemand vielleicht erklären wie ich die Header dateien einbinden muss damit er sie auch findet bzw am besten wie ich vllt die...



All times are GMT +1. The time now is 20:13.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.