mirror of
https://github.com/hotdang-ca/MacToolboxBoilerplate.git
synced 2025-08-05 02:24:45 +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);
|
||||
}
|
||||
|
||||
|
BIN
MacBoilerplate.µ
BIN
MacBoilerplate.µ
Binary file not shown.
Reference in New Issue
Block a user