Search found 374 matches

by mael15
Mon Feb 22, 2010 2:15 pm
Forum: C++ Development
Topic: problem with show/hide in nested dialogs
Replies: 5
Views: 704

works like a charm, thanx!!!
by mael15
Thu Feb 18, 2010 5:30 pm
Forum: C++ Development
Topic: problem with show/hide in nested dialogs
Replies: 5
Views: 704

thanx,

wxWizard is an option, but i only have one more window to show, so it does not seem the best choice.
by mael15
Thu Feb 18, 2010 4:18 pm
Forum: C++ Development
Topic: problem with show/hide in nested dialogs
Replies: 5
Views: 704

problem with show/hide in nested dialogs

hi, in my app i have a settings dialog. in that dialog, there is a button opening a second dialog. while the second dialog is displayed, the first should be hidden, so i use first->Hide(). the problem is, when i call first->Show() after/while destroying the second dialog, the first is also destroyed...
by mael15
Mon Dec 07, 2009 10:47 am
Forum: C++ Development
Topic: wxString in .cpp in dll causes heap error
Replies: 4
Views: 823

thanx, it worked when i changed every wxString into cont wxChar*. i do not understand why, but that´s ok.
by mael15
Thu Dec 03, 2009 3:09 pm
Forum: C++ Development
Topic: wxString in .cpp in dll causes heap error
Replies: 4
Views: 823

thanx for your thought! but i still do not understand, why it works in the .h and not in the .cpp file. it does not change a thing if i use wxString string("test", wxConvUTF8); setStrg(string); instead. what you recommend is exactly what i did. first have everything in the application, then in the d...
by mael15
Thu Dec 03, 2009 10:45 am
Forum: C++ Development
Topic: wxString in .cpp in dll causes heap error
Replies: 4
Views: 823

wxString in .cpp in dll causes heap error

i dont get it: i have a simple object in a statically linked dll like this: class DECLDIR test{ public: test(wxString _str); ~test(){}; protected: void setStrg(wxString _string) { str = _string; } wxString str; }; while DECLDIR is #ifndef DLL_EXPORT #define DECLDIR __declspec(dllimport) #else #defin...
by mael15
Mon Nov 30, 2009 2:03 pm
Forum: Compiler / Linking / IDE Related
Topic: R6034 with WXUSINGDLL
Replies: 2
Views: 723

ok problem solved, although i am not sure why. one of the two dlls was linking into the $(WXWIN)/lib/vc_ lib and the other into $(WXWIN)/lib/vc_ dll . same difference with the $(WXADDITIONS)/lib/vc_lib folder. changing both to link into the lib folder solved the problem. i had overlooked this small ...
by mael15
Mon Nov 30, 2009 1:00 pm
Forum: Compiler / Linking / IDE Related
Topic: R6034 with WXUSINGDLL
Replies: 2
Views: 723

and one thing is a mystery to me: i have two wxWidgets dlls, one compiles without WXUSINGDLL and the other doesn´t. how can that be? i thought i could avoid the r6034 by making every dll compile without WXUSINGDLL.
by mael15
Mon Nov 30, 2009 10:19 am
Forum: Compiler / Linking / IDE Related
Topic: R6034 with WXUSINGDLL
Replies: 2
Views: 723

R6034 with WXUSINGDLL

hi everybody! i am writing a wxWidgets dll and to compile it, i have to use the preprocessor symbol WXUSINGDLL to get rid of a "LNK2001: unresolved external symbol "char const * const wxEmptyString"" error. now when i try to use this dll for testing with the wxWidgets grid sample, i get this: Debug ...
by mael15
Tue Jun 09, 2009 1:13 pm
Forum: C++ Development
Topic: dc tutorial clipping when resizing
Replies: 1
Views: 327

dc tutorial clipping when resizing

hi, i wanted to understand how redrawing and resizing work by customizing the very simple tutorial http://zetcode.com/tutorials/wxwidgetstutorial/gdi/ the problem is that the line is cut off when i maximaize the window. the direction is correct, but the line is no longer than the size of the device ...
by mael15
Tue May 26, 2009 7:49 am
Forum: Compiler / Linking / IDE Related
Topic: LNK2019 and WX_DEFINE_EXPORTED_ARRAY
Replies: 4
Views: 597

aaaaah yeah!
that helped me a great deal, thanx!
absolutely nothing to find about this on the net...
by mael15
Mon May 25, 2009 3:41 pm
Forum: Compiler / Linking / IDE Related
Topic: LNK2019 and WX_DEFINE_EXPORTED_ARRAY
Replies: 4
Views: 597

yeah, that sounds great!
stupid question maybe, but what do they mean with the third parameter "exportspec"? i cound not find any explanation...
by mael15
Mon May 25, 2009 2:27 pm
Forum: Compiler / Linking / IDE Related
Topic: LNK2019 and WX_DEFINE_EXPORTED_ARRAY
Replies: 4
Views: 597

LNK2019 and WX_DEFINE_EXPORTED_ARRAY

hi everyone, i am trying to build a wxWidgets dll and get the following error: 1>bundle.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class libdf::DTube * & __thiscall libdf::ArrayOfDTube::Item(unsigned int)const " ([email protected] as far as i understand thi...
by mael15
Fri May 22, 2009 8:55 am
Forum: General Development
Topic: Event from external library
Replies: 6
Views: 1145

Hi upCASE, I have the exact same problem and I only work under Windows. Could you be so kind and elaborate this a bit more? If you can use system specific event, this is another good option as well. On Windows you could simply register an event type and post that. The application would need to check...