mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-21 10:55:33 +03:00
0025993: References to enums are wrapped wrong in SWIG Java
Modified Graphic3d/Graphic3d_GraduatedTrihedron.hxx to prevent using const references to enumerations
This commit is contained in:
parent
c1e0171c58
commit
a3ee6e9f77
@ -172,8 +172,8 @@ public:
|
|||||||
const TCollection_AsciiString& NamesFont() const { return myNamesFont; }
|
const TCollection_AsciiString& NamesFont() const { return myNamesFont; }
|
||||||
void SetNamesFont (const TCollection_AsciiString& theFont) { myNamesFont = theFont; }
|
void SetNamesFont (const TCollection_AsciiString& theFont) { myNamesFont = theFont; }
|
||||||
|
|
||||||
const Font_FontAspect& NamesFontAspect() const { return myNamesStyle; }
|
Font_FontAspect NamesFontAspect() const { return myNamesStyle; }
|
||||||
void SetNamesFontAspect (const Font_FontAspect& theAspect) { myNamesStyle = theAspect; }
|
void SetNamesFontAspect (Font_FontAspect theAspect) { myNamesStyle = theAspect; }
|
||||||
|
|
||||||
const Standard_Integer NamesSize() const { return myNamesSize; }
|
const Standard_Integer NamesSize() const { return myNamesSize; }
|
||||||
void SetNamesSize (const Standard_Integer theValue) { myNamesSize = theValue; }
|
void SetNamesSize (const Standard_Integer theValue) { myNamesSize = theValue; }
|
||||||
@ -181,8 +181,8 @@ public:
|
|||||||
const TCollection_AsciiString& ValuesFont () const { return myValuesFont; }
|
const TCollection_AsciiString& ValuesFont () const { return myValuesFont; }
|
||||||
void SetValuesFont (const TCollection_AsciiString& theFont) { myValuesFont = theFont; }
|
void SetValuesFont (const TCollection_AsciiString& theFont) { myValuesFont = theFont; }
|
||||||
|
|
||||||
const Font_FontAspect& ValuesFontAspect() const { return myValuesStyle; }
|
Font_FontAspect ValuesFontAspect() const { return myValuesStyle; }
|
||||||
void SetValuesFontAspect (const Font_FontAspect& theAspect) { myValuesStyle = theAspect; }
|
void SetValuesFontAspect (Font_FontAspect theAspect) { myValuesStyle = theAspect; }
|
||||||
|
|
||||||
const Standard_Integer ValuesSize() const { return myValuesSize; }
|
const Standard_Integer ValuesSize() const { return myValuesSize; }
|
||||||
void SetValuesSize (const Standard_Integer theValue) { myValuesSize = theValue; }
|
void SetValuesSize (const Standard_Integer theValue) { myValuesSize = theValue; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user