Ignore:
Timestamp:
Jul 24, 2012, 5:47:39 PM (13 years ago)
Author:
garnier
Message:

problem du titre résolu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/Quartz/PIWindowQuartz.cpp

    r4078 r4079  
    2424        printf ("PIWindowQuartz Create Err = %d \n",err);
    2525   
    26     err = SetWindowTitleWithCFString (wRef, title);
     26        CFStringRef cfsrLabel = CFStringCreateWithCString(kCFAllocatorDefault,nom,kCFStringEncodingMacRoman);
     27    err = SetWindowTitleWithCFString (wRef, cfsrLabel);
    2728
    2829        wdgHIView = HIViewGetRoot(wRef);
     
    3233                                                                                        bounds.origin.x, bounds.origin.y,
    3334                                                                                        bounds.size.width, bounds.size.height);
    34 
    3535        InstallStandardEventHandler(GetWindowEventTarget(wRef)); /* installs the default */     
    3636}
Note: See TracChangeset for help on using the changeset viewer.