Search found 32 matches

by heda
Sat Nov 05, 2005 3:05 am
Forum: General Development
Topic: problem with ifstream
Replies: 10
Views: 3306

After other tests I can say that it seems that mingw provided with WxDevCpp beta 6.8 is compiled using the unix EOL convention (LF) instead of win style (CR+LF) Hi, I don't think so. I've tested your test.zip using gcc-3.4.2 under Linux and it works properly. Certainly, if there is difference betwe...
by heda
Wed Nov 02, 2005 2:16 am
Forum: C++ Development
Topic: Converting Unicode wxString to UTF-8
Replies: 8
Views: 3853

It's actually wxString::mb_str(), rather than wxString::mbstr()
Oh yes, you're right. It was just a typing mistake; sorry.

Thanks for you comment.
by heda
Tue Nov 01, 2005 2:04 pm
Forum: C++ Development
Topic: Converting Unicode wxString to UTF-8
Replies: 8
Views: 3853

Hi,
AFAIK, you can do that using:
s = node.mbstr();

(s is a std::string variable and node is a wxString one)

Good Luck
by heda
Sat Oct 29, 2005 1:04 pm
Forum: General Development
Topic: Internationalisation ...
Replies: 6
Views: 1552

Hi again, thanks for accepting my answer! :wink: Although there are still oddities - the buttons in my wxMessageBox are not translated nor is for example the print dialog. wxMessageBox and print dialog use the standard buttons of the system. So, they must be translated in the target system. For exam...
by heda
Sat Oct 29, 2005 3:10 am
Forum: General Development
Topic: Internationalisation ...
Replies: 6
Views: 1552

No, just remove all of translated header files, and then change the variables to constants and use _().
You may try one of these:

const wxString MNT_OPTION_PROGSETTINGS = _("Program settings ...");

OR

#define MNT_OPTION_PROGSETTINGS _("Program settings ...")
by heda
Tue Oct 11, 2005 12:06 pm
Forum: Announcements and Discoveries
Topic: Almas Designer Version 0.8 released (not a preview anymore!)
Replies: 22
Views: 7261

Hi again, Almas Designer 0.9 is available here. This version comes with many improvements including: * Better code generation (the header file is updated when relly needed) * XRC code generation support * Much better Windows support (1) * Many bug fixes * No libxml2 dependency anymore (1) After Debs...
by heda
Sat Sep 10, 2005 7:10 am
Forum: Announcements and Discoveries
Topic: Almas Designer Version 0.8 released (not a preview anymore!)
Replies: 22
Views: 7261

Hi! i have build a windows version and fixed some problems. i send you the the code as you wish. Thanks. Please send your code (more precisely, changed files) for me: hedavat@hotpop.com Also, it would be nice if you can send me a windows executable (statically linked with wx) and the sample plugin c...
by heda
Mon Sep 05, 2005 9:52 pm
Forum: Announcements and Discoveries
Topic: Almas Designer Version 0.8 released (not a preview anymore!)
Replies: 22
Views: 7261

Oh, what a mistake! Almas uses xml writing already!! Anyway, I've removed the libxml2 dependency from my code and now Almas uses tinyXML. So, the next version doesn't need libxml2 and it will come with TinyXML in it. However, if anybody wants the code right now, I can send it for him/her. Regards, H...
by heda
Mon Sep 05, 2005 9:30 am
Forum: Announcements and Discoveries
Topic: Almas Designer Version 0.8 released (not a preview anymore!)
Replies: 22
Views: 7261

TinyXML can parse and write files. Look at the example, first the guy parses a C++ char array, and writes it to a file, then the file is opened and parsed against the already present contents.. Thanks! In fact I didn't look at it's examples, but I think I've read that this is a parser only. Well, I...
by heda
Mon Sep 05, 2005 8:32 am
Forum: Announcements and Discoveries
Topic: Almas Designer Version 0.8 released (not a preview anymore!)
Replies: 22
Views: 7261

Hi, First of all, thanks for trying my app. I'm so glad that you help me with your effort. I know there is a lib for windows, but so far as i know only for the release version and i like having a debug lib too. Why a debug lib when you don't want to spend time on libxml? Building the libxml under wi...
by heda
Wed Aug 24, 2005 6:31 am
Forum: Announcements and Discoveries
Topic: Almas Designer Version 0.8 released (not a preview anymore!)
Replies: 22
Views: 7261

Well, you're right. But, as I've said, I like my app to be cross-platform. And in fact, the source code is cross-platform as all of its requierments are cross-platform ( wxWidgets, wxPeropertyGrid, libxml2 and standard C++ ). AFAIK, you should be able to compile Almas on platforms which support thes...
by heda
Wed Aug 24, 2005 6:12 am
Forum: C++ Development
Topic: how tow send a evnet to a window?
Replies: 2
Views: 1049

Also, you may use wxPostEvent

Bye!
by heda
Wed Aug 24, 2005 3:55 am
Forum: Compiler / Linking / IDE Related
Topic: wxWidgets 2.4 & 2.6 + kDevelop
Replies: 2
Views: 943

If your KDevelop uses wx-2.4 by default, your wx-config is a symbolic link to wx-2.4's wx-config script. you should remove this link and create a new symbolic link to the wx-2.6's wx-config script.

Bye
by heda
Tue Aug 23, 2005 3:42 am
Forum: Announcements and Discoveries
Topic: Almas Designer Version 0.8 released (not a preview anymore!)
Replies: 22
Views: 7261

Hi Heda, might I suggest that you add some screenshots to your project homepage? I don't know if you know this, but screenshots are available here . But, I'll add a link for them (may be with better screenshots) to the home page. Also, do you have planned Windows binary releases? In fact, no. I hav...
by heda
Tue Aug 23, 2005 3:22 am
Forum: Platform Related Issues
Topic: [SOLVED]: .so file on Linux
Replies: 5
Views: 2315

Hi, LoadLibrary() is part of Windows API and doesn't work under Linux. If you want to load a shared library by your program (without linking it with the shared library on linking process), you can use wxDynamicLibrary which works on different platforms. ( Linux's native function is dlopen() ) Good L...