Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Added some of the missing controls to wxSmith

<< < (5/5)

Cryogen:

--- Quote from: seb_seb0 on July 25, 2010, 09:12:09 pm ---     2 - the wxSmithAUI cbp project file contains 2 targets : Windows & Unix. It leads to a warning message when recompiling the workspace. Is it possible to split the project in 2 files (1 for each target), and add only the Windows target to the workspace ? (and same for UNIX)

--- End quote ---

Yes, pleeeeeeeeease get rid of this. It's been like that for ages. ;-)
I think you'll find the same on Unix.


--- Quote from: seb_seb0 on July 25, 2010, 09:12:09 pm ---     3 - I have many times the same warning regarding wxPropGrid:

--- Code: ---..\..\..\sdk\wxpropgrid\include/wx/propgrid/propdev.h:18: warning: type attributes ignored after type is already defined
--- End code ---
Would it be possible to remove it ? (probably a #define to do somewhere, or in the compilation line).
 
--- End quote ---

I wish. I can't find exactly what causes this. It happens in a few places around C::B. There is a compiler directive which fixes it but I can't get to my code to tell you what it is. Google it.

Bye.

Cryogen:

--- Quote from: MortenMacFly on July 26, 2010, 08:44:24 am ---I actually like this idea of having just one project file very much, although it throws an error (actually it's a warning only). I think it's a nice "tech-demo" to explain the "platform" feature of C::B for project files. So I'd rather leave it like it is.

--- End quote ---

I see your point but it's another warning we shouldn't see and it's inconsistent with every other project in the system. Perhaps we need an option within C::B to turn off warnings for other platform projects?

Ciao.

Cryogen:

--- Quote from: seb_seb0 on July 26, 2010, 10:42:02 pm ---Hello,

I have a crash occuring with wxBitmapComboBox (on Windows Vista).
Insert a new wxBitmapComboBox in a wxPanel.
Modify the field "number of images" to a positive value in the property grid.

I have tried to debug, but the bug did not appear during debugging.
The bug *seems* to happen in the following lines (in function wxsBitmapComboBox::OnExtraPropertyChanged, in file wxsbitmapcombobox.cpp, start at line 228)

--- Code: ---for(int i = m_iNumImages; i < iNewFields; i++) {
                m_arrBitmapIds[i] = Grid->GetGrid()->AppendIn(m_idImages, NEW_IN_WXPG14X wxImageFileProperty(wxString::Format(wxT("%s %d"), sImage.c_str(), i + 1), wxPG_LABEL));
            }

--- End code ---
but I have no guarantees for that. Does anybody have an idea ?
If I find a solution, I will post it of course.

Sebastien

--- End quote ---

I'll check when I can (don't hold your breath) but this will change with the image manager, anyway. Do you have a number in that field and no path for the image? That might do it. The line you show inserts a path field for each image in iNumImages, which is the number in that "Number of images" field. It also assumes PropGrid 1.4, of course.

Cryo.

Navigation

[0] Message Index

[*] Previous page

Go to full version