Hi, ALL,
Is there a wxWindows control like this:
Motif Option Menu Widget Or maybe somebody tells me how I could use something like this in my wxWindows program?
I don't want to port it back to Linux?
Thank you in advance.
Is there a wxWindows control like this?
-
- Part Of The Furniture
- Posts: 7481
- Joined: Sat Apr 16, 2005 7:22 am
- Location: USA, Ukraine
-
- wxWorld Domination!
- Posts: 1409
- Joined: Wed Jan 19, 2005 3:44 pm
- Location: Paris, France
-
- I live to help wx-kind
- Posts: 189
- Joined: Tue Sep 07, 2004 4:10 pm
- Location: Sweden, Uppsala
-
- Part Of The Furniture
- Posts: 7481
- Joined: Sat Apr 16, 2005 7:22 am
- Location: USA, Ukraine
-
- I live to help wx-kind
- Posts: 189
- Joined: Tue Sep 07, 2004 4:10 pm
- Location: Sweden, Uppsala
-
- Part Of The Furniture
- Posts: 7481
- Joined: Sat Apr 16, 2005 7:22 am
- Location: USA, Ukraine
Thank you for reply.
OK, this is my mistake, I should've specify it directly, not indirectly.
If it's not part of wxWindows, I am perfectly fine with doing it on Linux, and using the codeguru code on Windows....
Also, maybe the Motif control already doing this. I am just guessing about that, because I looked at the CodeGuru code....
Thank you.
OK, this is my mistake, I should've specify it directly, not indirectly.
Now, how I will use such control? Should I use one from Motif? Or there is one in wxWindows?I don't want to port it back to Linux?
If it's not part of wxWindows, I am perfectly fine with doing it on Linux, and using the codeguru code on Windows....
Also, maybe the Motif control already doing this. I am just guessing about that, because I looked at the CodeGuru code....
Thank you.
-
- I live to help wx-kind
- Posts: 189
- Joined: Tue Sep 07, 2004 4:10 pm
- Location: Sweden, Uppsala
If you want to use a feature of a specific platform not present in wx, you can simply do a:
Depending on how important this speciffic feature is to you, this might be a good solution. My personal opinion is that this is far too much trouble, so I would stick with one single pure wx implementation.
Code: Select all
#ifdef YOUR_PLATFORM
// your platform's code
#elseifdef ANOTHER_PLATFORM
// another platform's code
#else
// general wx implementation
#endif
-
- Part Of The Furniture
- Posts: 7481
- Joined: Sat Apr 16, 2005 7:22 am
- Location: USA, Ukraine