wxTimePickerCtrl Topic is solved

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
stefania
Knows some wx things
Knows some wx things
Posts: 26
Joined: Wed Jul 20, 2005 9:08 am

wxTimePickerCtrl

Post by stefania » Mon Jul 15, 2013 7:08 am

Hi!
I need to insert in my project a time ctrl but if I insert wxTimePickerCtrl I have an error!

How can I do?

Thanks
Stefania

User avatar
doublemax
Moderator
Moderator
Posts: 14952
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: wxTimePickerCtrl

Post by doublemax » Mon Jul 15, 2013 8:48 am

What error? Compile error, linker error?

Please post the exact error message.
Use the source, Luke!

stefania
Knows some wx things
Knows some wx things
Posts: 26
Joined: Wed Jul 20, 2005 9:08 am

Re: wxTimePickerCtrl

Post by stefania » Mon Jul 15, 2013 9:00 am

Compile error: wxTimePickerCtrl non defined!

User avatar
doublemax
Moderator
Moderator
Posts: 14952
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: wxTimePickerCtrl

Post by doublemax » Mon Jul 15, 2013 9:05 am

Did you #include <wx/timectrl.h> ?

Also, it's only available since wxWidgets 2.9.3
Use the source, Luke!

stefania
Knows some wx things
Knows some wx things
Posts: 26
Joined: Wed Jul 20, 2005 9:08 am

Re: wxTimePickerCtrl

Post by stefania » Mon Jul 15, 2013 9:20 am

OK! Now it works!

Thanks very much!

Post Reply