projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add wxProgressDialog::Was{Cancelled,Skipped}() convenience methods.
[wxWidgets.git]
/
include
/
wx
/
propgrid
/
propgridiface.h
diff --git
a/include/wx/propgrid/propgridiface.h
b/include/wx/propgrid/propgridiface.h
index 7b4041b4caa6d1188a8a3c4f40880e95ecf4b336..d68fa7abe85d15cafd799e69ad9f4d4bcca4597b 100644
(file)
--- a/
include/wx/propgrid/propgridiface.h
+++ b/
include/wx/propgrid/propgridiface.h
@@
-64,13
+64,11
@@
public:
m_ptr.charName = str;
m_flags = IsCharPtr;
}
m_ptr.charName = str;
m_flags = IsCharPtr;
}
-#if wxUSE_WCHAR_T
wxPGPropArgCls( const wchar_t* str )
{
m_ptr.wcharName = str;
m_flags = IsWCharPtr;
}
wxPGPropArgCls( const wchar_t* str )
{
m_ptr.wcharName = str;
m_flags = IsWCharPtr;
}
-#endif
/** This constructor is required for NULL. */
wxPGPropArgCls( int )
{
/** This constructor is required for NULL. */
wxPGPropArgCls( int )
{
@@
-100,9
+98,7
@@
private:
{
wxPGProperty* property;
const char* charName;
{
wxPGProperty* property;
const char* charName;
-#if wxUSE_WCHAR_T
const wchar_t* wcharName;
const wchar_t* wcharName;
-#endif
const wxString* stringName;
} m_ptr;
unsigned char m_flags;
const wxString* stringName;
} m_ptr;
unsigned char m_flags;
@@
-1171,12
+1167,10
@@
public:
wxVariant v(value);
SetPropVal( id, v );
}
wxVariant v(value);
SetPropVal( id, v );
}
-#if wxUSE_WCHAR_T
void SetPropertyValue( wxPGPropArg id, const wchar_t* value )
{
SetPropertyValueString( id, wxString(value) );
}
void SetPropertyValue( wxPGPropArg id, const wchar_t* value )
{
SetPropertyValueString( id, wxString(value) );
}
-#endif
void SetPropertyValue( wxPGPropArg id, const char* value )
{
SetPropertyValueString( id, wxString(value) );
void SetPropertyValue( wxPGPropArg id, const char* value )
{
SetPropertyValueString( id, wxString(value) );