mirror of
https://github.com/hotdang-ca/MacToolboxBoilerplate.git
synced 2026-04-21 03:19:49 +00:00
Set window title. Once I understood what a Pascal String was, it was easy.
This commit is contained in:
@@ -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.
Reference in New Issue
Block a user