Set window title. Once I understood what a Pascal String was, it was easy.

This commit is contained in:
James Robert Perih 2019-03-12 22:45:18 -06:00
parent 44ea626ee7
commit aa0a8ffa48
2 changed files with 3 additions and 0 deletions

View File

@ -179,7 +179,10 @@ void InitToolbox(void) {
*/
void InitWindow(void) {
WindowPtr theWindow;
theWindow = GetNewWindow(kMainWindowId, nil, (WindowPtr)-1L);
SetWTitle(theWindow, "\pMacBoilerPlate");
SetPort(theWindow);
}

Binary file not shown.