Synch recent 3.4.2 changes to main trunk
This is merely a synchronization of recent changes for the Macintosh Carbon port, which were committed to the 3.4.2 branch, to the main trunk.
This commit is contained in:
@@ -2,13 +2,18 @@
|
||||
/* Copyright (c) Jon W{tte, Hao-Yang Wang, Jonathan Handler 1992. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#include <Dialogs.h>
|
||||
#if !TARGET_API_MAC_CARBON
|
||||
# include <Dialogs.h>
|
||||
# include <ControlDefinitions.h>
|
||||
#else
|
||||
# include <Carbon/Carbon.h>
|
||||
#endif
|
||||
|
||||
#include "macpopup.h"
|
||||
#include <ControlDefinitions.h>
|
||||
|
||||
/* Flash a dialog button when its accelerator key is pressed */
|
||||
void
|
||||
FlashButton (WindowPtr wind, short item) {
|
||||
FlashButton(DialogRef wind, short item) {
|
||||
short type;
|
||||
Handle handle;
|
||||
Rect rect;
|
||||
|
||||
Reference in New Issue
Block a user