Search found 201 matches

by cg
Wed Jan 19, 2005 6:08 pm
Forum: C++ Development
Topic: keyboard filtering in main frame ?
Replies: 6
Views: 1309

There is a keybinder app that does this. You can find it:

http://wxcode.sourceforge.net/component ... index.html

I haven't looked at it myself. I think you need to add your own accelerator items.

HTH

CG
by cg
Wed Jan 19, 2005 2:09 am
Forum: C++ Development
Topic: How to Handle the "ESC" Key in FullScreen Window(w
Replies: 5
Views: 663

I had to use dynamic connect to get that working. See this thread:

http://forums.wxwidgets.org/viewtopic.p ... ht=connect

HTH
CG
by cg
Wed Jan 19, 2005 1:12 am
Forum: C++ Development
Topic: keyboard filtering in main frame ?
Replies: 6
Views: 1309

From what I understand, the control that has focus is sent the key events. If that control does not skip the event, then the even does not get passed up the chain. Have a look at this forum: http://forums.wxwidgets.org/viewtopic.php?t=508&highlight=connect I had the same kind of issue and using the ...
by cg
Tue Jan 18, 2005 9:56 pm
Forum: Platform Related Issues
Topic: wxDateTime::Format bug on all platforms
Replies: 1
Views: 790

You should probably post this to the dev newsgroup. I'm not sure if the dev's visit regularly if at all. You can find the links:

http://wxwidgets.org/maillst2.htm

HTH

CG
by cg
Tue Jan 18, 2005 9:53 pm
Forum: C++ Development
Topic: keyboard filtering in main frame ?
Replies: 6
Views: 1309

Look at wxKeyEvent in the documention. There is Key up, key down and char events that you can map to

HTH

CG
by cg
Mon Jan 17, 2005 10:44 pm
Forum: C++ Development
Topic: problem with bitmap
Replies: 4
Views: 1293

Painting on the canvas should be put in a paint or background erase event. see wxPaintEvent in the docs.

HTH
CG
by cg
Sun Jan 16, 2005 12:51 am
Forum: C++ Development
Topic: [solved]custom dialog - how to manipulate the main frame
Replies: 5
Views: 1404

I made a quick sample here to test what your saying and it works for me fine. One thing that I noticed is that you are using event.Skip(). You only need to use this when you want the event to propagate. Good example is OnPaint OnIdle etc. When I added this to my button click it simulated a double cl...
by cg
Sat Jan 15, 2005 4:22 pm
Forum: C++ Development
Topic: [solved]custom dialog - how to manipulate the main frame
Replies: 5
Views: 1404

Are you sure the event(WxButton1Click) is being called? You could use a msgbox test in it: void SearchDlg::WxButton1Click(wxCommandEvent& event) { if( !GetParent() ) wxMessageBox("Parent is dead!"); ((newProgramFrame*)GetParent())->WxEdit1->AppendText("\nDa Text"); event.Skip(); } Chris
by cg
Fri Jan 14, 2005 8:55 pm
Forum: C++ Development
Topic: Want to start a knowlegebase?
Replies: 3
Views: 759

Why don't you just look at beefing up the main docs? I'm sure the docs could use more people anywanys and it would be really nice to have simple code examples in the docs that are linked to the main class pages. Create a new section similar to the "Topics overview" section. I'm sure the wiki samples...
by cg
Thu Jan 13, 2005 5:04 pm
Forum: Platform Related Issues
Topic: Solaris 9
Replies: 7
Views: 1538

I built 2.4.2 and tested a few of the samples. I had to add /usr/sfw/bin to my path so configure could find gtk-config.

I guess you need to confirm if the headers are installed in /usr/include/X11. If they aren't they you will need to install them off the cds.

HTH

Chris
by cg
Thu Jan 13, 2005 4:13 pm
Forum: Platform Related Issues
Topic: Solaris 9
Replies: 7
Views: 1538

I forgot to mention you can run this command to see if you you have the headers installed:

grep SUNWxwinc /var/sadm/install/contents

HTH

Chris
by cg
Thu Jan 13, 2005 3:45 pm
Forum: Platform Related Issues
Topic: Solaris 9
Replies: 7
Views: 1538

I will try 2.4.2 today and let you know. I took a look for where they are and they appear to be installed from SUNWxw* packages. SUNWwxinc etc. They reside in /usr/include/X11.

You could try adding that to your path and re running configure.

HTH

Chris
by cg
Wed Jan 12, 2005 5:22 pm
Forum: Platform Related Issues
Topic: Solaris 9
Replies: 7
Views: 1538

I haven't built it on sparc (yet) but it should work with intel/sparc. I have read posts on the newsgroup from people who are using it on sparc.

CG
by cg
Wed Jan 12, 2005 4:25 pm
Forum: wx.NET
Topic: misc bugs on linux
Replies: 2
Views: 1559

What version of wx are you using? Did you configure wtih gtk or gtk 2?

Thanks

CG
by cg
Wed Jan 12, 2005 4:23 pm
Forum: Platform Related Issues
Topic: Solaris 9
Replies: 7
Views: 1538

To build Chinook I needed to add the following command to the build line:

-rpath /usr/X11R6/lib

Solaris 9 Intel / GCC 3.4.1

HTH

Chris