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

Adding support for Bitmap property , wxStaticBitmap widgets

(1/3) > >>

cyberkoa:
I have committed a changes to add in the bitmap property , and a new widgets : wxStaticBitmap widgets . :)

There are still some part miss out in code generation , basically codes that generated can be compiled and linked with manually adding a <wx/image.h> at the header file , however, there will be a run-time error because the image-handler is not loaded. :(

byo, the code generation engine I just read one round , not very clear how it works , maybe you can give some explanation or suggestion to modify.

tiwag:
i really wonder why your latest commit builds under linux :?

you've added
wxsadvimageproperty.cpp
wxsadvimageproperty.h

but didn't add them to
makefile.am

but it built without errors ... never referenced class ?

cyberkoa:

--- Quote from: tiwag on January 12, 2006, 11:31:19 am ---i really wonder why your latest commit builds under linux :?

you've added
wxsadvimageproperty.cpp
wxsadvimageproperty.h

but didn't add them to
makefile.am

but it built without errors ... never referenced class ?

--- End quote ---
thank for informing  :)
frankly say I don't know how to configure to include new files in  automake script..  :oops:
I have just tried to compile in Linux but had not seen the result ..

The reason why it can be compiled I think because only new files (wxsstaticbitmap.cpp & wxsstaticbitmap.h) are referring to this class which also not added into the makefile.am

I shall modify the makefile.am and wxSmith-unix.cbp and commit them tonight.

tiwag:
@cyberkoa
be careful when editing the makefile.am file, it needs to have lines separated by LF only (no CR+LF as it is DOS/WIN standard )
otherwise it will not build with autotools make system.
best is to edit these files using linux ... and maybe try to build it in linux, it isn't very complicated.  8)

thx, tiwag

sethjackson:

--- Quote from: tiwag on January 12, 2006, 05:55:37 pm ---@cyberkoa
be careful when editing the makefile.am file, it needs to have lines separated by LF only (no CR+LF as it is DOS/WIN standard )
otherwise it will not build with autotools make system.
best is to edit these files using linux ... and maybe try to build it in linux, it isn't very complicated.  8)

thx, tiwag

--- End quote ---

Can't you just open it in C::B and set End-of-line-mode to LF?

Navigation

[0] Message Index

[#] Next page

Go to full version