Commit Graph

62319 Commits

Author SHA1 Message Date
Catalin
79256c2fe3 Revert "Remove check for TTTOOLINFO_V1_SIZE"
Apparently some gcc flavors (like g++ (GCC) 5.3.0 from AppVeyor) do not define TTTOOLINFO_V1_SIZE, so keep the check for it. FWIW tdm-gcc-5.1.0 does not need it.

This reverts commit e38762bc55.
2017-03-05 21:17:02 +02:00
Catalin
e81c460808 Keep defining ACDD_VISIBLE because shobjidl.h header is not included since it is missing from MinGW and Cygwin. 2017-03-05 15:49:14 +02:00
Catalin
f6b1a6bc16 Remove check for ATTACH_PARENT_PROCESS.
<https://msdn.microsoft.com/en-us/library/windows/desktop/ms681952(v=vs.85).aspx>
2017-03-05 15:40:30 +02:00
Catalin
511ec44743 Remove old checks
AW_XXX <https://msdn.microsoft.com/en-us/library/windows/desktop/ms632669(v=vs.85).aspx>
MAPVK_VK_TO_CHAR <https://msdn.microsoft.com/en-us/library/windows/desktop/ms646307(v=vs.85).aspx>
TME_LEAVE <https://msdn.microsoft.com/en-us/library/windows/desktop/ms645604(v=vs.85).aspx>
WM_MOUSELEAVE <https://msdn.microsoft.com/en-us/library/windows/desktop/ms645615(v=vs.85).aspx>
2017-03-05 15:39:31 +02:00
Catalin
7b26050fb6 Remove checks for NIN_XXX.
<https://msdn.microsoft.com/en-us/library/windows/desktop/ms632643(v=vs.85).aspx>
2017-03-05 15:36:24 +02:00
Catalin
e38762bc55 Remove check for TTTOOLINFO_V1_SIZE.
<https://msdn.microsoft.com/en-us/library/windows/desktop/hh298349(v=vs.85).aspx>
2017-03-05 15:35:14 +02:00
Catalin
2f5f5caf99 Remove checks for ACO_UPDOWNKEYDROPSLIST, SHACF_FILESYS_XXX, ACDD_VISIBLE.
<https://msdn.microsoft.com/en-us/library/windows/desktop/bb762479(v=vs.85).aspx>
<https://msdn.microsoft.com/en-us/library/windows/desktop/bb759862(v=vs.85).aspx>
<https://msdn.microsoft.com/en-us/library/windows/desktop/bb776285(v=vs.85).aspx>
2017-03-05 15:34:03 +02:00
Catalin
299a06c86e Remove checks for NIN_XXX, NIM_SETVERSION, NIF_INFO, NOTIFYICONDATA_V2_SIZE.
<https://msdn.microsoft.com/en-us/library/windows/desktop/bb762159(v=vs.85).aspx>
<https://msdn.microsoft.com/en-us/library/windows/desktop/bb773352(v=vs.85).aspx>
2017-03-05 15:31:44 +02:00
Catalin
d7ce8c023f Remove checks for CSIDL_XXX and SHGFP_TYPE_XXX.
<https://msdn.microsoft.com/en-us/library/windows/desktop/bb762494(v=vs.85).aspx>
<https://msdn.microsoft.com/en-us/library/windows/desktop/bb762181(v=vs.85).aspx>
2017-03-05 15:28:33 +02:00
Catalin
45818cd90b Remove check for SPI_GETFLATMENU.
<https://msdn.microsoft.com/en-us/library/windows/desktop/ms724947(v=vs.85).aspx>
2017-03-05 15:26:30 +02:00
Catalin
fefe380b53 Remove check for DFCS_HOT.
<https://msdn.microsoft.com/en-us/library/dd162480(v=vs.85).aspx>
2017-03-05 15:25:25 +02:00
Catalin
35b2270a4a Remove checks for HKEY_XXX.
<https://msdn.microsoft.com/en-us/library/ms724836.aspx>
2017-03-05 15:23:25 +02:00
Catalin
bdba8559cb Remove check for VT_TYPEMASK.
<https://msdn.microsoft.com/en-us/library/windows/desktop/aa380072(v=vs.85).aspx>
2017-03-05 15:22:13 +02:00
Catalin
743810cf68 Remove check for CHILDID_SELF.
<https://msdn.microsoft.com/en-us/library/windows/desktop/dd318473(v=vs.85).aspx>
2017-03-05 15:20:28 +02:00
Catalin
b8ba653ef0 Remove check for SPI_GETKEYBOARDCUES.
<https://msdn.microsoft.com/en-us/library/windows/desktop/ms724947(v=vs.85).aspx>
2017-03-05 15:19:27 +02:00
Catalin
f3cda45ced Remove checks for MNS_CHECKORBMP, MIM_STYLE.
<https://msdn.microsoft.com/en-us/library/windows/desktop/ms647575(v=vs.85).aspx>
2017-03-05 15:17:54 +02:00
Catalin
73210723cd Remove checks for PBS_XXX.
<https://msdn.microsoft.com/en-us/library/windows/desktop/bb760820(v=vs.85).aspx>
2017-03-05 15:15:55 +02:00
Catalin
5d3cf28022 Remove check for HANGUL_CHARSET.
<https://msdn.microsoft.com/en-us/library/windows/desktop/dd318126(v=vs.85).aspx>
2017-03-05 15:12:08 +02:00
Catalin
b53a62a970 Remove check for SM_CXCURSOR. 2017-03-05 15:10:52 +02:00
Catalin
0ff8012c4a Remove checks for BIF_XXX
<https://msdn.microsoft.com/en-us/library/windows/desktop/bb773205(v=vs.85).aspx>
2017-03-05 15:08:40 +02:00
Catalin
bda4c48271 Remove checks for INTERNET_CONNECTION_XXX
<https://msdn.microsoft.com/en-us/library/windows/desktop/aa384702(v=vs.85).aspx>
2017-03-05 15:05:53 +02:00
Catalin
fbf8f2b237 Remove checks for AC_SRC_ALPHA and LAYOUT_RTL
<https://msdn.microsoft.com/en-us/library/dd183393(v=vs.85).aspx>
<https://msdn.microsoft.com/en-us/library/dd162979(v=vs.85).aspx>
2017-03-05 15:04:34 +02:00
Catalin
7bfbbf7e83 Remove check for __TWIN32__ symbol 2017-03-05 03:30:31 +02:00
Catalin
8d387fafe5 Remove checks for MM_JOY1MOVE, VK_APPS, ENDSESSION_LOGOFF, PBT_APMRESUMEAUTOMATIC, JOY_BUTTON1, SM_SWAPBUTTON.
<https://msdn.microsoft.com/en-us/library/dd757352(v=vs.85).aspx>
<https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx>
<https://msdn.microsoft.com/en-us/library/windows/desktop/aa376890(v=vs.85).aspx>
<https://msdn.microsoft.com/en-us/library/windows/desktop/aa372718(v=vs.85).aspx>
<https://msdn.microsoft.com/en-us/library/dd757110(v=vs.85).aspx>
2017-03-05 03:12:14 +02:00
Catalin
66d48500c5 Remove checks for SM_XXX system metrics symbols.
<https://msdn.microsoft.com/en-us/library/windows/desktop/ms724385(v=vs.85).aspx>
2017-03-05 03:07:21 +02:00
Catalin
eb1d11607c Remove check for BFFM_SETSELECTION
<https://msdn.microsoft.com/en-us/library/windows/desktop/bb762598(v=vs.85).aspx>
2017-03-05 03:04:51 +02:00
Catalin
e21c82f2fe Remove check for DTS_SHORTDATECENTURYFORMAT
<https://msdn.microsoft.com/en-us/library/windows/desktop/bb761728(v=vs.85).aspx>
2017-03-05 03:03:11 +02:00
Catalin
3b97482dbc Remove wxFileDialog related symbols already present since Win2k
<https://msdn.microsoft.com/en-us/library/ms646839(vs.85).aspx>
2017-03-05 02:05:32 +02:00
mgimenez
52130e43ab Minor documentation fix
'heightLine" parameter is not applicable to the function being described.

Closes #17806.
2017-02-25 18:52:23 +01:00
New Pagodi
ee609de199 Fix names for some wxSTC constants
Generally, Scintilla constants which names beginning with 'SCXX' are mapped to wxSTC names by by stripping out the 'SC' before prepending 'wxSTC_', for example SCWS_INVISIBLE gets mapped to wxSTC_WS_INVISIBLE. Unfortunately, this common rule of mapping the names is not applied to the (legacy) names beginning with 'SCVS_' and 'SCMOD_'.
For the sake of consistency, also these names should conform to the common naming convention, so gen_iface.py is updated to generate conformant names for all affected prefixes. Legacy names are preserved for backward compatibility but commented deprecated and no longer referenced in the documentation.

Closes #17808.
2017-02-25 18:05:59 +01:00
VZ
217941e9c3 Merge pull request #423 from MaartenBent/resolve-warnings
Resolve -Wsuggest-override and -Wmisleading-indentation warnings.
2017-02-25 03:23:11 +01:00
Maarten Bent
87308746be Resolve -Wsuggest-override warnings. 2017-02-24 23:37:44 +01:00
Maarten Bent
f6f72449fe Resolve -Wmisleading-indentation warnings. 2017-02-24 23:37:38 +01:00
Cătălin Răceanu
e8207c8c59 Fix building tests with wxUSE_UNSAFE_WXSTRING_CONV==0
Avoid relying on implicit conversions to std::string in the tests code.
2017-02-24 15:37:37 +01:00
Cătălin Răceanu
3a02672de8 Use MIIM_FTYPE rather than MIIM_TYPE in wxMSW
There is no need to use the old symbol any more now that we don't support
Windows 9x any longer.
2017-02-24 15:36:46 +01:00
Jouk
af70755124 Correction on the prious update of this file 2017-02-24 14:13:35 +01:00
VZ
bb8a7dc931 Merge pull request #420 from catalinr/fix_charset_comments
Fix a couple of charset-related comments.

No real changes.
2017-02-24 02:26:18 +01:00
New Pagodi
98720ee7a4 Fix names of newly introduced wxSTC constants
In 68888ca0a2 there were introduced new wxSTC constants representing Scintilla SCTD_* parameters. Unfortunately, their names don't conform to naming convention of other constants and therefore should be changed. For the sake of consistency, Scintilla SCTD_* names should be mapped to wxSTC_TD_* ones.

Closes #17807.
2017-02-23 23:03:40 +01:00
Artur Wieczorek
c6e4507c07 Add unit tests for wxHexToDec()
See #12814.
2017-02-23 20:50:18 +01:00
Artur Wieczorek
71305cff62 Add sanity checks for input string in wxHexToDec()
Check if the length of the string is appropriate and if it contains hexadecimal characters.
Also document this function.

Closes #12814.
2017-02-23 20:49:59 +01:00
Artur Wieczorek
2ecd4a07ba Add unit tests for wxDecToHex() 2017-02-23 20:48:28 +01:00
Artur Wieczorek
2934f77660 Fix and document wxDecToHex()
1. Integer instead of floating point arithmetic should be used in calculations.
2. Because this function always returns 2 hexadecimal characters, its parameter type should be changed from 'int' to 'unsigned char' to avoid misunderstandings and prevent misuses.

Closes #12612.
2017-02-23 20:48:03 +01:00
Artur Wieczorek
bfa2b2896b Use wxDecToHex() to convert integer value to hex string 2017-02-23 19:32:18 +01:00
Catalin
456eb42a92 Removed irrelevant comment about MSW charset in OSX code. 2017-02-23 19:23:35 +02:00
Catalin
882e109ed5 Improved description of charset values under MSW. 2017-02-23 19:20:20 +02:00
Cătălin Răceanu
933e3e6fc5 Remove compile-time checks for always defined WM_XXX in wxMSW
The symbols in question are present at least since XP, and most of them since
Windows 2000, so remove preprocessor checks for them, they shouldn't be needed
when any remotely current compiler/SDK.
2017-02-22 23:17:56 +01:00
Kvaz1r
f9f5f9770a Update a few Ukrainian translations 2017-02-22 23:14:50 +01:00
Artur Wieczorek
74ab36c125 Simplify PostScript code generated by wxPostScriptDC to draw elliptic arc
Optimize procedure 'ellipticarc' by doing all operations on the operand stack instead of creating local dictionary and temporary variables.
2017-02-22 21:23:44 +01:00
Artur Wieczorek
8a45881e44 Simplify PostScript code generated by wxPostScriptDC to draw elliptic contour
Optimize procedure 'ellipse' (to draw elliptic contour) by doing all operations on the operand stack instead of creating local dictionary and temporary variables.
2017-02-22 21:15:21 +01:00
Artur Wieczorek
f49528cc2f Fix DrawArc() implementation in wxPostScriptDC
Draw pie, not arc, if current brush is not transparent.
Also simplify the code by invoking PostScript 'arc' operator only once if pie is drawn.

Closes #17805.
2017-02-22 21:09:17 +01:00