They link against with the same wxWidgets in the filesystem. However, mine GUI is uglier. Below is the comparison. The first one is from the samples of wxWidgets, and the second is a mimic from my own codes.
Any suggestion? Thanks in advance.
Why the GUI of my app is uglier than of the samples? Topic is solved
Re: Why the GUI of my app is uglier than of the samples?
Missing manifest in the executable. How to achieve that depends on your ide/compiler. If it works in the samples, check how it's done there.
http://svn.wxwidgets.org/viewvc/wx/wxWi ... iew=markup
http://svn.wxwidgets.org/viewvc/wx/wxWi ... iew=markup
Use the source, Luke!
Re: Why the GUI of my app is uglier than of the samples?
Thank you, doublemax. I used windres.exe (from TDM-GCC) to compile wx/msw/wx.rc into a .o file, then linked the .o file with my own object files. The output binary has better GUI looking now. Many thanks, doublemax.