X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c23a0b01b3fb667ec41fc8271ce1ee5b5aa4e19..b5b49e42939fd7ef098241733648b534f71b526c:/utils/dialoged/src/winstyle.h?ds=sidebyside diff --git a/utils/dialoged/src/winstyle.h b/utils/dialoged/src/winstyle.h index d7aaf063f4..1f59adf01f 100644 --- a/utils/dialoged/src/winstyle.h +++ b/utils/dialoged/src/winstyle.h @@ -19,8 +19,8 @@ #include "wx/wx.h" /* - * A class for storing/generating window styles. - */ +* A class for storing/generating window styles. +*/ class wxWindowStyleClass; @@ -37,41 +37,41 @@ class wxWindowStyleTable: public wxObject public: wxWindowStyleTable(); ~wxWindowStyleTable(); - -// Operations + + // Operations void ClearTable(); void AddStyles(const wxString& className, int n, wxWindowStylePair *styles); wxWindowStyleClass* FindClass(const wxString& className) ; bool GenerateStyleStrings(const wxString& className, long windowStyle, char *buf); - + // Initialise with all possible styles void Init(); - -// Members + + // Members protected: wxList m_classes; // A list of wxWindowStyleClass objects, indexed by class name - + }; /* - * Classes for storing all the window style identifiers associated with a particular class - */ +* Classes for storing all the window style identifiers associated with a particular class +*/ class wxWindowStyleClass: public wxObject { public: wxWindowStyleClass(int n, wxWindowStylePair *styles); ~wxWindowStyleClass(); - -// Operations + + // Operations void GenerateStyleStrings(long windowStyle, char *buf); bool GenerateStyle(char *buf, long windowStyle, long flag, const wxString& strStyle); - -// Members + + // Members protected: wxWindowStylePair* m_styles; // An array of wxWindowStylePair objects int m_styleCount; }; #endif - // _DE_WINSTYLE_H_ +// _DE_WINSTYLE_H_