projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Not all implementations of wxMDIChildFrame derive from wxFrame
[wxWidgets.git]
/
src
/
x11
/
font.cpp
diff --git
a/src/x11/font.cpp
b/src/x11/font.cpp
index 4eaee81f00b6781b7356924922cab9006fb38b69..be44d65a0ddbdb73da7800aa7442350d4ab3b55d 100644
(file)
--- a/
src/x11/font.cpp
+++ b/
src/x11/font.cpp
@@
-123,7
+123,7
@@
public:
void SetEncoding(wxFontEncoding encoding);
void SetNoAntiAliasing( bool no = TRUE ) { m_noAA = no; }
void SetEncoding(wxFontEncoding encoding);
void SetNoAntiAliasing( bool no = TRUE ) { m_noAA = no; }
- bool GetNoAntiAliasing() { return m_noAA; }
+ bool GetNoAntiAliasing()
const
{ return m_noAA; }
// and this one also modifies all the other font data fields
void SetNativeFontInfo(const wxNativeFontInfo& info);
// and this one also modifies all the other font data fields
void SetNativeFontInfo(const wxNativeFontInfo& info);
@@
-745,7
+745,7
@@
wxFontEncoding wxFont::GetEncoding() const
return M_FONTDATA->m_encoding;
}
return M_FONTDATA->m_encoding;
}
-bool wxFont::GetNoAntiAliasing()
+bool wxFont::GetNoAntiAliasing()
const
{
wxCHECK_MSG( Ok(), wxFONTENCODING_DEFAULT, wxT("invalid font") );
{
wxCHECK_MSG( Ok(), wxFONTENCODING_DEFAULT, wxT("invalid font") );