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:
2009-04-19 17:48:22 +00:00
parent 4c78d68b2b
commit 457bbe3e85
13 changed files with 105 additions and 106 deletions

View File

@@ -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;