Developer forums (C::B DEVELOPMENT STRICTLY!) > Contributions to C::B

Patch for wxsglcanvas

(1/1)

gd_on:
I propose a patch in ticket 925 to add the possibility to activate multisample mode in wxSmith/wxsglcanvas. It is conditionnaly added/compiled if wxwidgets version is >= 3.0.0 because these possibilties (keywords) were not here before.
gd_on

stahta01:
Please disable the tidy comment plugin and recreate patch without the comment changes it does.

Edit: Example changes not wanted

--- Code: ----//------------------------------------------------------------------------------
+//----  --------------------------------------------------------------------------------------------------------

--- End code ---

Tim S.

gd_on:
OK. Patch modified. I hope that's what you wanted.

BlueHazzard:

Side note:
i am tired of all this #if version checking...
My proposal is to introduce a wxSmith setting, that stores the (minimal) wxWidgets version this project supports and then we check (for new code commits) in the code generation how the code has to be generated, according to this setting. Maybe we can even store this setting in the code itself?

oBFusCATed:
Patches welcome. Soon we will drop 2.8 support anyway...

Navigation

[0] Message Index

Go to full version