@@ -808,28 +808,40 @@ static PyObject *TEObj_getattr(self, name)
808808
809809 if ( strcmp (name , "destRect" ) == 0 )
810810 return Py_BuildValue ("O&" , PyMac_BuildRect ,
811- (* self -> ob_itself )-> destRect );
811+ & (* self -> ob_itself )-> destRect );
812812 if ( strcmp (name , "viewRect" ) == 0 )
813813 return Py_BuildValue ("O&" , PyMac_BuildRect ,
814- (* self -> ob_itself )-> viewRect );
814+ & (* self -> ob_itself )-> viewRect );
815815 if ( strcmp (name , "selRect" ) == 0 )
816816 return Py_BuildValue ("O&" , PyMac_BuildRect ,
817- (* self -> ob_itself )-> selRect );
817+ & (* self -> ob_itself )-> selRect );
818818 if ( strcmp (name , "lineHeight" ) == 0 )
819819 return Py_BuildValue ("h" , (* self -> ob_itself )-> lineHeight );
820820 if ( strcmp (name , "fontAscent" ) == 0 )
821821 return Py_BuildValue ("h" , (* self -> ob_itself )-> fontAscent );
822822 if ( strcmp (name , "selPoint" ) == 0 )
823823 return Py_BuildValue ("O&" , PyMac_BuildPoint ,
824- (* self -> ob_itself )-> selPoint );
824+ & (* self -> ob_itself )-> selPoint );
825825 if ( strcmp (name , "selStart" ) == 0 )
826826 return Py_BuildValue ("h" , (* self -> ob_itself )-> selStart );
827827 if ( strcmp (name , "selEnd" ) == 0 )
828828 return Py_BuildValue ("h" , (* self -> ob_itself )-> selEnd );
829829 if ( strcmp (name , "active" ) == 0 )
830830 return Py_BuildValue ("h" , (* self -> ob_itself )-> active );
831+ if ( strcmp (name , "just" ) == 0 )
832+ return Py_BuildValue ("h" , (* self -> ob_itself )-> just );
831833 if ( strcmp (name , "teLength" ) == 0 )
832834 return Py_BuildValue ("h" , (* self -> ob_itself )-> teLength );
835+ if ( strcmp (name , "txFont" ) == 0 )
836+ return Py_BuildValue ("h" , (* self -> ob_itself )-> txFont );
837+ if ( strcmp (name , "txFace" ) == 0 )
838+ return Py_BuildValue ("h" , (* self -> ob_itself )-> txFace );
839+ if ( strcmp (name , "txMode" ) == 0 )
840+ return Py_BuildValue ("h" , (* self -> ob_itself )-> txMode );
841+ if ( strcmp (name , "txSize" ) == 0 )
842+ return Py_BuildValue ("h" , (* self -> ob_itself )-> txSize );
843+ if ( strcmp (name , "nLines" ) == 0 )
844+ return Py_BuildValue ("h" , (* self -> ob_itself )-> nLines );
833845
834846 return Py_FindMethodInChain (& TEObj_chain , (PyObject * )self , name );
835847}
0 commit comments