User forums > Nightly builds

The 10 november 2006 build is out.

<< < (8/9) > >>

Pecan:

--- Quote from: nzoltan on November 13, 2006, 06:12:44 pm ---
--- Quote from: Pecan on November 13, 2006, 01:08:53 pm ---This is a wxWidgets to GTK communications bug in drag&drop.
Not much CodeBlocks can do about it except turn off drag&drop on linux.

--- End quote ---

How can I disable drag&drop in GNOME? Please help me...  :(


--- End quote ---
You would compile wxWidgets yourself and set the define in setup.h to 0

--- Code: ---#define wxUSE_DRAG_AND_DROP 1

--- End code ---

This might cause other side effects.

If its just wxFlatNotebook thats the problem, you could compile it with the wxFNB_NODRAG flag.

nzoltan:

--- Quote from: Pecan on November 13, 2006, 08:45:20 pm ---If its just wxFlatNotebook thats the problem, you could compile it with the wxFNB_NODRAG flag.

--- End quote ---

<OFF>
I never develop wWindows before
</OFF>

Thanks. I found the wxFNB_NODRAG but have a magic value (0x80). Therefore if I comment out lines between 1300 and 1308 in wxFlatNotebook.cpp (codeblocks source tree), it will enough?

rjmyst3:

--- Quote ---Thanks. I found the wxFNB_NODRAG but have a magic value (0x80). Therefore if I comment out lines between 1300 and 1308 in wxFlatNotebook.cpp (codeblocks source tree), it will enough?

--- End quote ---

no, you'd need to find all of the wxFlatNotebook constructors in the code::blocks source code, and pass the wxFNB_NODRAG flag in them.
example,

before:

--- Code: ---wxFlatNotebook* m_editor = new wxFlatNotebook( this, -1, wxDefaultPosition, wxDefaultSize, wxFNB_SMART_TABS | wxFNB_VC8 );

--- End code ---

after:

--- Code: ---wxFlatNotebook* m_editor = new wxFlatNotebook( this, -1, wxDefaultPosition, wxDefaultSize, wxFNB_SMART_TABS | wxFNB_VC8 | wxFNB_NODRAG );

--- End code ---

Then, recompile code::blocks

nzoltan:

--- Quote from: rjmyst3 on November 13, 2006, 09:23:39 pm ---no, you'd need to find all of the wxFlatNotebook constructors in the code::blocks source code, and pass the wxFNB_NODRAG flag in them.
example,

--- End quote ---

Thanks, success! C::B is now stable.  :)

gjsmo:

--- Quote from: artoj on November 12, 2006, 10:48:14 pm ---
--- Quote from: oz on November 12, 2006, 08:40:12 am ---I use this build on ubuntu edgy, and it said "incomplete entry on line 40, /etc/maincap" at startup, does any one know if it is my problem or somewhere else?

--- End quote ---

You have have a problem in that file. If I recall correctly it's actually wxWidgets that creates that error because I had the same problem with FileZilla 3 (which also uses wxWidgets).

I had a line something like this in /etc/mailcap (in the error line):


--- Code: ---application/x-emerald-theme
        ext: emerald

--- End code ---

I removed those two lines and the error disappeared. Remember to backup the file before deleting anything from it though.

--- End quote ---
Never delete anything - comment it out by adding a # (hash mark) at the beginning of the line

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version