Fixed the bug where dialog controls were not drawn.
git-svn-id: http://openexile.googlecode.com/svn/trunk@25 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
@@ -145,15 +145,13 @@ int main(void)
|
||||
|
||||
// register_flag = get_reg_data();
|
||||
load_sounds();
|
||||
if (sys_7_avail == TRUE) {
|
||||
set_up_apple_events();
|
||||
}
|
||||
set_up_apple_events();
|
||||
|
||||
menu_bar_handle = GetNewMBar(128);
|
||||
if (menu_bar_handle == NIL) {
|
||||
SysBeep(2);
|
||||
ExitToShell();
|
||||
}
|
||||
}
|
||||
SetMenuBar(menu_bar_handle);
|
||||
DisposeHandle(menu_bar_handle);
|
||||
|
||||
@@ -784,12 +782,12 @@ void update_item_menu()
|
||||
}
|
||||
}
|
||||
|
||||
void set_cursor(CursHandle which_curs)
|
||||
{
|
||||
HLock ((Handle) which_curs);
|
||||
SetCursor (*which_curs);
|
||||
HUnlock((Handle) which_curs);
|
||||
}
|
||||
//void set_cursor(CursHandle which_curs)
|
||||
//{
|
||||
// HLock ((Handle) which_curs);
|
||||
// SetCursor (*which_curs);
|
||||
// HUnlock((Handle) which_curs);
|
||||
//}
|
||||
|
||||
void find_quickdraw() {
|
||||
OSErr err;
|
||||
|
||||
Reference in New Issue
Block a user