const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
int nStrings = 0,
-#if defined(__SUNCC__)
- const wxString choices[] = NULL,
-#else
- const wxString choices[] = (const wxString *) NULL,
-#endif
+ const wxString *choices = (const wxString *)NULL,
long style = 0,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxListBoxNameStr);
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
int nStrings = 0,
-#if defined(__SUNCC__)
- const wxString choices[] = NULL,
-#else
- const wxString choices[] = (const wxString *) NULL,
-#endif
+ const wxString *choices = (const wxString *)NULL,
long style = 0,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxListBoxNameStr);
// No warning
#elif defined(__SUNCC__)
// nothing -- I don't know about "#warning" for Sun's CC
+#elif defined(__DECCXX)
+ // nothing
#else
// change this to some analogue of '#warning' for your compiler
#error "Using sprintf() because no snprintf()-like function defined"
wxString *strFirst = (wxString *)first;
wxString *strSecond = (wxString *)second;
- if ( gs_compareFunction )
+ if ( gs_compareFunction ) {
return gs_compareFunction(*strFirst, *strSecond);
+ }
else {
int result = strcmp(strFirst->c_str(), strSecond->c_str());
typedef shl_t HDLL;
#endif
-#ifdef DLDAPI_AIX_LOAD
+#if defined(DLDAPI_AIX_LOAD) || defined(__DECCXX)
typedef void *HDLL;
#endif