Search found 29 matches

by wxuser
Tue Feb 21, 2006 8:36 am
Forum: C++ Development
Topic: problem accessing globals in C library
Replies: 11
Views: 1790

If you are getting linker errors, check the order of libraries while linking. Maybe put your lib ahead of all wx related ones.
by wxuser
Tue Feb 14, 2006 6:52 am
Forum: wxDev-C++
Topic: how to pass a string to a c function
Replies: 7
Views: 1717

Your code seems to be ok, i dont see any problem with that.

If your issue is getting a string out of wxString, then use c_str()

Code: Select all

void extract(wxString path)
{
const char* c_string = path.c_str();
...
} 
or just pass c_string into the function

then use c_string in whatever you want it for.
by wxuser
Wed Feb 01, 2006 11:17 am
Forum: C++ Development
Topic: Software Registration
Replies: 8
Views: 1717

I use a prebuilt solution for windows, but a crappy one which i built for linux. I am still working hard on this one. Can any one point me to links that provide a good starting point (for Linux & MAC)? Regarding cracking if you build your own, chances of cracking it are more. For my linux version, I...
by wxuser
Thu Jan 19, 2006 6:15 am
Forum: C++ Development
Topic: Can I have multiple selections in wxGenericDirCtrl?
Replies: 4
Views: 1257

Is there some way to have multiple selections in wxGenericDirCtrl? I am not sure either, but here are few comments. regarding your code myDirCtrl->GetTreeCtrl()->SetWindowStyle(wxMULTIPLE); See window styles for wxTreeCtrl its wxTR_MULTIPLE for multiple selection. but i dont know if this change wou...
by wxuser
Thu Jan 19, 2006 5:55 am
Forum: wxDev-C++
Topic: Is wxdevcpp related to win32 api? Need help in understanding
Replies: 5
Views: 1510

Can anyone please teach me how to use mpFX, mpFY and mpFXY and mail me a sample of how to use There is a sample with wxmathplot sources available through the same link you have given. This IMO is the best place to start. If you hvae not downloaded the sources, its here - http://prdownloads.sourcefo...
by wxuser
Wed Jan 11, 2006 5:44 am
Forum: wxDev-C++
Topic: wxStyledTextCtrl
Replies: 2
Views: 1007

First compile wxSTC from the contrib folder. And for compiling the sample and your apps, make sure wxstc.lib is the first in the linker list or else the linker will throw out tons of errors.

hope it helps
by wxuser
Sat Oct 29, 2005 2:52 pm
Forum: C++ Development
Topic: wxNotebook - GetSelection issue
Replies: 7
Views: 1458

Ya, it is there!!. Thanks a lot benedicte

deez
by wxuser
Sat Oct 29, 2005 11:08 am
Forum: C++ Development
Topic: wxScintilla
Replies: 5
Views: 1468

I am confused on what you are trying to do here. If you are trying to add a new lexer, doing it in scintilla and updating wxScintilla is a better option. If you are trying to use a prebuilt lexer (yes SQL lexer is already there) for highlighting and folding, see prefs.cpp of sample app. hope this he...
by wxuser
Fri Oct 28, 2005 2:19 pm
Forum: C++ Development
Topic: wxNotebook - GetSelection issue
Replies: 7
Views: 1458

Thanks a lot benedicte,

it works perfectly on windows. But will be porting the app into linux in a couple of weeks, any ideas for a platform independent solution.

thanks

deez

PS: I would like to wait few more hours for any other ideas before accepting the solution, hope its ok.
by wxuser
Fri Oct 28, 2005 10:34 am
Forum: C++ Development
Topic: wxNotebook - GetSelection issue
Replies: 7
Views: 1458

wxNotebook - GetSelection issue

Hi all, I have been trying to add a feature similar to whats in firefox. middle mouse button closing the page. But the problem is GetSelection always gives the visible page regardless of what page i click on. for example Page1 | Page2 | Page3 If 'Page3' is currently selected, even if i middle click ...
by wxuser
Fri Oct 21, 2005 2:25 am
Forum: wxDev-C++
Topic: Alpha version page not available for some days
Replies: 8
Views: 1678

A light in the darkness... :D
LOL!!

I had a scare yesterday, couldnt open the site and thought even mine was down. But it was my ISP as usual.
by wxuser
Thu Oct 20, 2005 7:32 am
Forum: wxDev-C++
Topic: Alpha version page not available for some days
Replies: 8
Views: 1678

At least for now mine is working.

but it doesnt have files in wxdevcpp- Developers section. If anyone need those, just post a message here, i can upload those (but will take time as my isp is pretty slow).

http://www.kanasu.com/wxdevcpp

-deez
by wxuser
Sun Oct 16, 2005 3:04 pm
Forum: C++ Development
Topic: wxGenericDirCtrl and events
Replies: 3
Views: 1983

wxGenericDirCtrl and events

Hi all,

Is there any sample implementation or docs on wxGenericDirCtrl, I am building a file browser and want to add some basic events like double click and right click menu items.

thanks

Deez
by wxuser
Thu Oct 13, 2005 10:31 am
Forum: C++ Development
Topic: HelpController and path
Replies: 3
Views: 931

Thanks to both benedicte and upCASE. Its solved now.
by wxuser
Thu Oct 13, 2005 8:38 am
Forum: C++ Development
Topic: HelpController and path
Replies: 3
Views: 931

HelpController and path

Hi all, I wanted to add help file for my app and tried this: wxCHMHelpController *help = new wxCHMHelpController; help->Initialize( "myapp.chm"); help->LoadFile(); help->DisplayContents(); or wxHelpController *Myhelp = new wxHelpController(); Myhelp->Initialize("myapp.chm"); Myhelp->DisplayContents(...