User forums > Using Code::Blocks

OnKeyDown and OnChar doesnt work?Or Im dumb?

(1/2) > >>

Theif:
It's my first post , so hi all.

I'm using Code::Blocks 8.02 + wxSmith.
OS:uname -a
Linux ptqa-desktop 2.6.25-ARCH #1 SMP PREEMPT Mon Jul 14 15:25:51 UTC 2008 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux

and I've got a problem $subj.

for example

--- Code: ---void frameDialog::OnLeftDown(wxMouseEvent& event)
{
     wxMessageBox(wxT("test"));
}

--- End code ---

works

and this

--- Code: ---void frameDialog::OnKeyDown(wxKeyEvent& event)
{
    wxMessageBox(wxT("test"));
}

--- End code ---

doesnt works, Im I doing enything wrong? I create this functions using IDE in same way.
Ive tried to build code::blocks from svn , It didnt help.

here is a project , why event doesnt works?
http://rapidshare.com/files/135012513/project.7z.html

thx

Theif:
and Im using XFCE as DE , maybe thi is the problem?

Theif:
Yep , just tested on Ubuntu with GNOME , there it works fine. Its a bug , or Code::Blocks isnt support XFCE?

byo:
Did you tried last nightly build ? I've fixed some problem related to key events about 3,5 weeks ago.

Regards
   BYO

Theif:

--- Quote from: byo on August 06, 2008, 12:53:04 am ---Did you tried last nightly build ? I've fixed some problem related to key events about 3,5 weeks ago.

Regards
   BYO

--- End quote ---

I havent noticed build for linux , but Ive build latest from svn(as I already wrote) , it didnt help.

Navigation

[0] Message Index

[#] Next page

Go to full version