summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXEntry.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-01-10 08:10:29 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-01-10 08:10:29 (GMT)
commit7b3b30d439640b2474a81ff1b97c8ae264811165 (patch)
tree05e00c4d3ff33c3693eecf185af839c020854fc1 /macosx/tkMacOSXEntry.c
parent3d9f5433b611ddba5d4c1f219d61bfcde319034f (diff)
parent44cdf94725d440ad4b97077853722891d2d9cd7d (diff)
downloadtk-7b3b30d439640b2474a81ff1b97c8ae264811165.zip
tk-7b3b30d439640b2474a81ff1b97c8ae264811165.tar.gz
tk-7b3b30d439640b2474a81ff1b97c8ae264811165.tar.bz2
Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and Windows.h have conflicting symbols.
*** POTENTIAL INCOMPATIBILITY *** on Windows only: gcc/clang/MSVC will generate new warnings in extensions when the "None" symbol is used incorrectly. Those warnings are all fixed in the core, that's what most of this commit is doing.
Diffstat (limited to 'macosx/tkMacOSXEntry.c')
-rw-r--r--macosx/tkMacOSXEntry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXEntry.c b/macosx/tkMacOSXEntry.c
index 4ab3111..a1c5d60 100644
--- a/macosx/tkMacOSXEntry.c
+++ b/macosx/tkMacOSXEntry.c
@@ -156,10 +156,10 @@ TkpDrawEntryBorderAndFocus(
bounds.size.height = Tk_Height(tkwin) - 2*MAC_OSX_FOCUS_WIDTH;
if (!TkMacOSXSetupDrawingContext(d, NULL, 1, &dc)) {
- /*
+ /*
* No graphics context is available. If the widget is a Spinbox, we
* must restore its width before returning 0. (Ticket [273b6a4996].)
- */
+ */
if (isSpinbox) {
Tk_Width(tkwin) = oldWidth;