Theerapong Thongprom
Theerapong Thongprom

Reputation: 81

Look and feel in windows 7 with wxWidgets

I just begin studying wxWidgets and I have been experimenting it on CODE::BLOCKS. First, I followed with this example http://www.wxwidgets.org/docs/tutorials/hworld2.txt. the application does not look so native on windows 7 it looks like my application is running on windows 98. The OK button does not look like it should be, similarly, also wxTextCtrl ( I have try it myself ). What do I miss? Do I have to add some special code or anything else?

Here this is image: http://angsila.cs.buu.ac.th/~52030937/Capture.PNG

Thank you in advanced

Upvotes: 1

Views: 2663

Answers (1)

T-Rex
T-Rex

Reputation: 860

You can add .rc file to your project and include "wx/msw/wx.rc" in it. Then themes should be applied to your GUI (take a look at default samples bundled with wxWidgets - http://screencast.com/t/QTaQqCxO692w).

Upvotes: 2

Related Questions