Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
what's the best and quick way to remove all the wx_str and c_str preprocessor
dmoore:
For what it's worth the patch to enable ".*" to match through newlines is pretty simple. Attached is an incomplete version (incomplete because it does not add UI to enabled/disable matching through newlines -- may actually be better to include the option in the editor dialog than the editor settings in any case.)
stahta01:
I wish you luck.
I also wish the patches had been accepted with the #else; since, it was not ever needed.
Tim S.
MortenMacFly:
--- Quote from: stahta01 on August 06, 2012, 06:00:16 pm ---it was not ever needed.
--- End quote ---
It was needed (for a short period tough) when we were using an old wxWidgets 2.8.x version which did not have wx_str(). I don't recall which that was, but IMHO we also sticked to this version with the whole core that time.
Jenna:
--- Quote from: MortenMacFly on August 06, 2012, 06:44:58 pm ---
--- Quote from: stahta01 on August 06, 2012, 06:00:16 pm ---it was not ever needed.
--- End quote ---
It was needed (for a short period tough) when we were using an old wxWidgets 2.8.x version which did not have wx_str(). I don't recall which that was, but IMHO we also sticked to this version with the whole core that time.
--- End quote ---
If I see the wxWidgets logs correctly, wx_str() has returned exactly the same as c_str() for a real long time and has always been there in 2.8, but was not documented and included only for wx1.6 (!) compatibility.
The differences to c_str() have been intriduced with wx2.9.
But it is as it is, and changing it even manually is not too hard.
MortenMacFly:
--- Quote from: jens on August 06, 2012, 07:11:53 pm ---but was not documented and included only for wx1.6 (!) compatibility.
--- End quote ---
Al-right - didn't know that. I was always only looking at the official API (a.k.a CHM file). Well then - we are wx1.6 compatible, isn't it? ;D
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version