I bet you need wxInitAllImageHandlers()garrizano wrote:I compiled my project with source files wxSkin and when I run I always get an error that says: "No handlers found for image type".
What have I done wrong?
wxSkin - release 0.9 alpha
Try using wxInitAllImageHandlers() before calling any wxSkin related code.garrizano wrote:I compiled my project with source files wxSkin and when I run I always get an error that says: "No handlers found for image type".
What have I done wrong?
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
-
- Earned a small fee
- Posts: 10
- Joined: Fri Apr 23, 2010 3:31 am
- Location: El Salvador
- Contact:
I know how to invoke a function, but was not sure what is where invoke the function.
Yes I am starting with wxWidgets, and I would like to know more about this.
In the end, gives me the error when you run it, and I get the error window that I showed in the answer above. As mentioned, what I'm trying to run is the example that comes with the library wxSkin, the basic example.
Thanks.
Yes I am starting with wxWidgets, and I would like to know more about this.
In the end, gives me the error when you run it, and I get the error window that I showed in the answer above. As mentioned, what I'm trying to run is the example that comes with the library wxSkin, the basic example.
Thanks.
Vive como si fuera el ultimo dia de tu vida.
Hi!
Call wxInitAllImageHandlers() in your OnInit() method.
As for the messagebox, what happens if you click cancel?
Maybe my example images are not o.k., maybe something else changed, can't tell.
Call wxInitAllImageHandlers() in your OnInit() method.
As for the messagebox, what happens if you click cancel?
Maybe my example images are not o.k., maybe something else changed, can't tell.
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
There is only limited support for that using wxSkinFrame in contrast to wxSkinSimpleFrame (which can not be resized). It isn't perfect, but may work. Simply try it outgarrizano wrote:I have another question, can I resize a window when using wxSkin?
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
-
- Earned a small fee
- Posts: 10
- Joined: Fri Apr 23, 2010 3:31 am
- Location: El Salvador
- Contact:
But first I must make to run the example.
Still do not know what is wrong with the handlers of the images.
Here I put more information about my system:
OS: Windows XP Pro
wxWidgets: 2.9.1
Build: Static non-Unicode monolitic.
I do not know if there will be a problem with this configuration.
Still do not know what is wrong with the handlers of the images.
Here I put more information about my system:
OS: Windows XP Pro
wxWidgets: 2.9.1
Build: Static non-Unicode monolitic.
I do not know if there will be a problem with this configuration.
Vive como si fuera el ultimo dia de tu vida.
Maybe it's because you use 2.9.1. I created wxSkin using the 2.8 release. Maybe I find some time and compile it with a newer version to see what the error might be.garrizano wrote:Still do not know what is wrong with the handlers of the images.
...
I do not know if there will be a problem with this configuration.
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
-
- Earned a small fee
- Posts: 10
- Joined: Fri Apr 23, 2010 3:31 am
- Location: El Salvador
- Contact:
Hi!.
I was able to run the example.
The problem was not the library, but the archive of images of skin.
Do not know why not load the images from the zip file.
What I did was unzip it in a folder and call directly the xml file.
Sorry for taking so much trouble.
Now the problems I see are:
-The maximize button.
"When maximizing the window, not maximized fully.
But in general, is an excellent work that you did.
I was able to run the example.
The problem was not the library, but the archive of images of skin.
Do not know why not load the images from the zip file.
What I did was unzip it in a folder and call directly the xml file.
Sorry for taking so much trouble.
Now the problems I see are:
-The maximize button.
"When maximizing the window, not maximized fully.
But in general, is an excellent work that you did.
Vive como si fuera el ultimo dia de tu vida.
Hi!
Glad you could make it work.
I should update the code to use 2.9 properly as some things have changed. Maybe I'll find some time for that soon. There's still much to do for wxSkin and I didn't update the code for more than a year....
Anyway: Resizable frames may or may not work. This is somewhat unfinished, yet I decided to leave support for that in the library as is, as I knew people might ask for it. I had problems with that from the start, especially on GTK platforms.
However, glad it works now. Using CMAKE was a big mistake in the end. Have fun using wxSkin.
Glad you could make it work.
I should update the code to use 2.9 properly as some things have changed. Maybe I'll find some time for that soon. There's still much to do for wxSkin and I didn't update the code for more than a year....
Anyway: Resizable frames may or may not work. This is somewhat unfinished, yet I decided to leave support for that in the library as is, as I knew people might ask for it. I had problems with that from the start, especially on GTK platforms.
However, glad it works now. Using CMAKE was a big mistake in the end. Have fun using wxSkin.
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4
"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda