Search found 14 matches

by honeymagico
Sun Oct 10, 2010 6:25 pm
Forum: C++ Development
Topic: Need a compiled wxSkin
Replies: 18
Views: 21974

I successfully compiled wkSkin in wx2.9.1 unicode.
The main change is in wxSkinEngine.cpp
wxBITMAP_TYPE_ANY -> wxBITMAP_TYPE_PNG
I cant understand why wxBITMAP_TYPE_ANY not work.
Or it is a BUG?

Besides I change all "::wxLogError()" to "wxLogError()"
by honeymagico
Sat Oct 09, 2010 1:00 pm
Forum: C++ Development
Topic: Need a compiled wxSkin
Replies: 18
Views: 21974

I finally can compile wxSkin sample in my enviorment. so I summarize my experience,maybe someone have the same problems. wx2.8.11_unicode + code::blocks 10.05 + mingw 4.4.1 1.add missing declaration in wxSkinEngine.h bool ReassignControlSkin(const wxWindow* ptr, const wxString& label); 2.modify ...
by honeymagico
Sat Oct 09, 2010 3:53 am
Forum: C++ Development
Topic: Need a compiled wxSkin
Replies: 18
Views: 21974

try with 2.8.xx? Your sig shows that you use 2.9.1 and I'm not sure if it works with the version. UpCase is in position to pronounce that! 2.8 seems to work,I compiled sample only get 2 error C:\wxSkin\include\wxSkinStaticText.h|28|error: default argument for parameter of type 'const wxString&'...
by honeymagico
Fri Oct 08, 2010 7:41 pm
Forum: C++ Development
Topic: Need a compiled wxSkin
Replies: 18
Views: 21974

I recompiled wxWidgets with wxUSE_STD_IOSTREAM 1 in setup.h
and recompiled guibuilder.cpp
but still get the same errors

:cry: :cry:

I write a simple wxLogError test app,it work fine.

wxSkin is exactly what I need,but it seems so hard for me...
by honeymagico
Fri Oct 08, 2010 2:04 pm
Forum: C++ Development
Topic: Need a compiled wxSkin
Replies: 18
Views: 21974

Re: Need a compiled wxSkin

::wxLogError error maybe caused by you didn't set wxUSE_STD_IOSTREAM when building wxWidgets. Some package like wxSkin needs wxLog to do the logging thinks maybe require this marco. wxUSE_STD_IOSTREAM locates at PathToWx/include/wx/msw/setup0.h&setup.h. You can take a try. so i need to recompil...
by honeymagico
Fri Oct 08, 2010 9:20 am
Forum: C++ Development
Topic: Need a compiled wxSkin
Replies: 18
Views: 21974

there is wxInitAllImageHandlers() in oninit()
i use your example from wxSkin package.

this is really weird...
by honeymagico
Fri Oct 08, 2010 8:47 am
Forum: C++ Development
Topic: Need a compiled wxSkin
Replies: 18
Views: 21974

1: I compiled example/main.cpp and make a executable. Run it but get error as attachment 000 then i press cancel , get attachment 001 what's wrong? 2: I forgot a problem... below errors is happened near each "::wxLogError()" in guibuilder.cpp i make it become comment by add "//" ...
by honeymagico
Fri Oct 08, 2010 7:39 am
Forum: C++ Development
Topic: Need a compiled wxSkin
Replies: 18
Views: 21974

i add windows.h into #ifdef and get the same error then i search there is a gethwnd declation in wx/msw/private.h i change windows.h to wx/msw/private.h is this correct? now i compile my app without error and i will try to follow your tutorial hope wxSkin can work correctly thanks your help. wxSkin ...
by honeymagico
Fri Oct 08, 2010 7:03 am
Forum: C++ Development
Topic: Need a compiled wxSkin
Replies: 18
Views: 21974

I try do add declare in wxSkinEngine.h , but still get errors C:\CPP_WORK\wxSkinTest\wxSkinWindow.cpp||In member function 'bool wxSkinWindow::SetShape(const wxRegion&)':| C:\CPP_WORK\wxSkinTest\wxSkinWindow.cpp|81|error: 'GetHwnd' was not declared in this scope| C:\CPP_WORK\wxSkinTest\wxSkinWind...
by honeymagico
Fri Oct 08, 2010 6:53 am
Forum: C++ Development
Topic: Need a compiled wxSkin
Replies: 18
Views: 21974

Sorry for my poor english... I try this method but not work. I add all wxskin source and add path to include and get some errors C:\CPP_WORK\wxSkinTest\wxSkinEngine.cpp|88|error: no 'bool wxSkinEngine::ReassignControlSkin(const wxWindow*, const wxString&)' member function declared in class 'wxSk...
by honeymagico
Fri Oct 08, 2010 5:45 am
Forum: C++ Development
Topic: Need a compiled wxSkin
Replies: 18
Views: 21974

Need a compiled wxSkin

I try to compile wxSkin with CMake follow README file but have some error. Then I try to just include sources file, still not work. there are many error appear at each "::wxLogError" line and others. Serch this Forum by keyword wxSkin,I have read every post but cant solve it. so I think if...
by honeymagico
Wed Jul 28, 2010 2:45 pm
Forum: C++ Development
Topic: multiple panel problem
Replies: 4
Views: 2062

Got it! Really helpful
Thanks.
by honeymagico
Tue Jul 27, 2010 2:45 pm
Forum: C++ Development
Topic: multiple panel problem
Replies: 4
Views: 2062

it's work!so that's how it is.

I was under the misapprehension that panels stacked and only need one sizer grid.

this problem confuses me almost two weeks...
I never think it solved so easily.

:lol: thanks a lot!
(sorry for my poor English.My English still needs to work)
by honeymagico
Tue Jul 27, 2010 7:57 am
Forum: C++ Development
Topic: multiple panel problem
Replies: 4
Views: 2062

multiple panel problem

Its have multiple panels with a frame. when I press MenuRoot::Button1,it will show Menu1_1 in frame. My problem is that sizer in Menu1_1 would not fill with the frame.(I want the sizer to fit the windows size and content will expand) I had read official documents and search in this forum,but can't s...