Artur Wieczorek
92b64ff997
Set background colour of saved image in drawing sample
...
Initialize background colour prior to actual drawing to make it uniform for all kinds of drawing operations.
2017-03-06 18:47:02 +01:00
New Pagodi
15ee1ebd12
Improve generating wxSTC code and documentation
...
Several new features were implemented in gen_iface.py and accompanying '.in' files:
1. Added an option to parse provisional section in Scintilla.iface. When global variable GENERATE_PROVISIONAL_ITEMS is set to 1, methods and values in this section receive corresponding wxSTC items.
2. Deprecated section in Scintilla.iface is not skipped, but parsed and corresponding wxSTC items are created (marked as deprecated in the code and documentation).
3. Added a set 'notMappedSciValues' that can be used to prevent the creation of specific wxSTC values which are intended to be handled manually.
4. For deprecated constants there is generated a code to raise respective warnings during the compilation.
Closes #17671 .
2017-03-06 18:38:56 +01:00
Tim S
2a64f15c17
Edited dnl comment in "configure.in".
2017-03-05 23:49:01 -05:00
Tim S
2bde0f4b9e
Edited when setting wxUSE_CHECKLISTBOX to 0 under MSW port.
2017-03-05 21:41:05 -05:00
Catalin
8e82435d70
Keep NIN_BALLOONxxx
checks and definitions.
...
Apparently some gcc flavors (like g++ (GCC) 5.3.0 from AppVeyor) do not define these symbols. FWIW tdm-gcc-5.1.0 does not need them.
This partially reverts commit 299a06c86e
.
2017-03-06 00:40:18 +02:00
Catalin
b8ced83a6c
Keep SHACF_FILESYS_XXX checks and definitions.
...
Apparently some gcc flavors (like g++ (GCC) 5.3.0 from AppVeyor) do not define these symbols. FWIW tdm-gcc-5.1.0 does not need them.
This partially reverts commit 2f5f5caf99
.
2017-03-05 22:25:34 +02:00
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
Cătălin Răceanu
bbc4b3659a
Drop compile and run-time Win9x support in wxFileDialog
...
All relatively recent SDK versions have the up-to-date definition of struct
OPENFILENAME, so we don't need to provide our own one.
Also, wxWidgets applications don't run under Win9x any longer, so there is no
need to fall back to comdlg32.dll v4 which was used there during run-time.
2017-03-05 17:06:19 +01:00
Cătălin Răceanu
e950e4a129
Remove MONITOR-related declarations not needed any more
...
Don't define MONITOR-related structs and messages ourselves in wxMSW code,
this shouldn't be needed any more as they're present in all remotely recent
versions of the SDK.
No real changes, just minor clean up.
2017-03-05 17:01:22 +01: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
Artur Wieczorek
9c5d6e893f
Move duplicated code to the shared function
...
Code to emit PostScript commands to set the current colour is duplicated in several places (in SetBrush, SetPen, DrawAnyText functions) and therefore should be moved to a dedicated function.
2017-03-04 19:07:05 +01:00
Artur Wieczorek
feee67e6a1
Optimize selecting font in generated PostScript code
...
Emit code to select PostScript font only if it is needed (not at every call to SetFont(), but only if font has been really changed prior to a text drawing operation).
2017-03-04 19:07:04 +01:00
Artur Wieczorek
8950ac9a3f
Change keyboard shortcut to show bounding box in drawing sample
...
Ctrl-B shortcut is already used to change background mode.
2017-03-03 21:08:53 +01:00
Artur Wieczorek
8aee0244b0
Add option to save as PostScript in drawing sample
2017-03-03 21:07:58 +01:00
Artur Wieczorek
3d4850bdf3
Use size of drawing area as a size of saved images in drawing sample
...
Determine actual size of drawing area and use it (instead of virtual size of the window) as a dimension of the images to be saved. Thanks to this clipping, produced images contain only results of drawing operations and not lot of empty background space.
2017-03-03 21:06:06 +01:00
Tim S
f11409ab09
When not Unix skip wxOVERRIDE in GetIconFromMimeType.
2017-03-03 13:37:24 -05:00
Tim S
076d99bab9
Only change wxUSE_CHECKLISTBOX to 0 when MSW toolkit.
2017-03-03 13:37:21 -05:00
Tim S
a44d4f9833
Configure changes needed for wxGTK/win32.
...
In configure moved WX_ARG_FEATURE(regkey outside of if.
Have configure under windows skip linking to X11.
Have configure check for "USE_WIN32" instead of for "wxUSE_MSW".
wxUSE_FSWATCHER
wxUSE_SNGLINST_CHECKER
wxUSE_SOCKETS
wxUSE_DIB
2017-03-03 13:37:18 -05:00
Tim S
cb67b07629
Added directions to build wxGTK/Win32 using MSys2.
2017-03-03 13:37:16 -05:00
Artur Wieczorek
b308ff3746
Document bounding box fix in changelog
...
Document changes introduced in ae57d89df8
.
2017-03-02 23:46:54 +01:00
Artur Wieczorek
944eccea68
Use new[] instead of malloc()
2017-03-02 22:44:52 +01:00
Artur Wieczorek
ae57d89df8
Fix updating bounding box in DrawSpline() implementation in wxMSWDC
...
All spline points have to be added to the bounding box.
Closes #17814 .
2017-03-02 22:44:40 +01:00
Artur Wieczorek
c0b6540c6f
Add option to show bounding box in drawing sample
...
Visualizing bounding box can be helpful in diagnosing problems with determining extents of drawing operations.
2017-03-02 20:57:30 +01:00
Paul Cornett
a0cb7c1291
Avoid using stale nl_langinfo() pointer
...
See #17813
2017-03-02 07:48:08 -08:00