DevPak 2.8 Topic is solved

If you are using wxDev-C++ for your wxWidgets design, please ask your questions here instead of in IDE Related.
Post Reply
Shadowapsect
Experienced Solver
Experienced Solver
Posts: 50
Joined: Mon Aug 01, 2011 10:55 am

DevPak 2.8

Post by Shadowapsect » Wed Aug 03, 2011 9:08 am

Hi everybody!

I have recently started with programming in wxWidgets and I have a problem with this line

Code: Select all

wxImage MenuIMG( wxT("image.jpg"), wxBITMAP_TYPE_ANY, 0);
`cause it is causing this error variable `wxImage MenuIMG' has initializer but incomplete type
Im using version 2.6 and also I want to download 2.8 where it sohuld not cause this error but I dont know where to download DevPak cause in CheckForUpdates and then devpaks.org seems that the links are broken.

thanks for your help in advance :)
Greetings from Slovakia, ShadowAspect (15)

Jophin
Knows some wx things
Knows some wx things
Posts: 41
Joined: Sun Apr 05, 2009 1:53 am
Location: Maharashtra , India

Re: DevPak 2.8

Post by Jophin » Sun Oct 16, 2011 6:35 am

1)
Download wxDev-C++ from http://wxdsgn.sourceforge.net/
Single pack setup for windows ; has IDE/RAD tool , compilers ,debugger and wxWidgets ( version 2.8.12 )


2)
Under wxWidgets ( version 2.8.12 ) , do not forget to Initializes all available image handlers by using wxInitAllImageHandlers in that same subroutine.

wxInitAllImageHandlers( ) ;
wxImage MenuIMG( wxT("image.jpg"), wxBITMAP_TYPE_ANY, 0);
Jophin K.
Maharashtra , India

Shadowapsect
Experienced Solver
Experienced Solver
Posts: 50
Joined: Mon Aug 01, 2011 10:55 am

Re: DevPak 2.8

Post by Shadowapsect » Sun Oct 16, 2011 10:29 am

Yea, now I have it but thanks for reply :)
Greetings from Slovakia, ShadowAspect (15)

Post Reply