git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@402
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// Required to force normal cursor-setting behaviour in Windows
#ifdef __WXMSW__
// Required to force normal cursor-setting behaviour in Windows
#ifdef __WXMSW__
- virtual void MSWOnMouseMove(int x, int y, const WXUINT flags);
+ virtual void MSWOnMouseMove(int x, int y, WXUINT flags);
curcol = cols.Append(name, col1);
col1->SetName(name);
col1->SetType(type);
curcol = cols.Append(name, col1);
col1->SetName(name);
col1->SetType(type);
- col1->SetNullable(nullable);
+ col1->SetNullable((nullable != 0));
wxQueryField *field1 = new wxQueryField;
fetch = fetchbuf.Append(field1);
wxQueryField *field1 = new wxQueryField;
fetch = fetchbuf.Append(field1);
#ifdef __WXMSW__
// Circumvent wxControl::MSWOnMouseMove which doesn't set the cursor.
#ifdef __WXMSW__
// Circumvent wxControl::MSWOnMouseMove which doesn't set the cursor.
-void wxToolBarBase::MSWOnMouseMove(int x, int y, const WXUINT flags)
+void wxToolBarBase::MSWOnMouseMove(int x, int y, WXUINT flags)
{
wxWindow::MSWOnMouseMove(x, y, flags);
}
{
wxWindow::MSWOnMouseMove(x, y, flags);
}
if ( strPath.IsEmpty() )
return;
if ( strPath.IsEmpty() )
return;
- if ( strPath[0] == APPCONF_PATH_SEPARATOR ) {
+ if ( strPath[0] == wxCONFIG_PATH_SEPARATOR ) {
// absolute path
wxSplitPath(aParts, strPath);
}
else {
// relative path, combine with current one
wxString strFullPath = GetPath();
// absolute path
wxSplitPath(aParts, strPath);
}
else {
// relative path, combine with current one
wxString strFullPath = GetPath();
- strFullPath << APPCONF_PATH_SEPARATOR << strPath;
+ strFullPath << wxCONFIG_PATH_SEPARATOR << strPath;
wxSplitPath(aParts, strFullPath);
}
wxSplitPath(aParts, strFullPath);
}
m_strPath.Empty();
for ( uint n = 0; n < aParts.Count(); n++ ) {
strRegPath << '\\' << aParts[n];
m_strPath.Empty();
for ( uint n = 0; n < aParts.Count(); n++ ) {
strRegPath << '\\' << aParts[n];
- m_strPath << APPCONF_PATH_SEPARATOR << aParts[n];
+ m_strPath << wxCONFIG_PATH_SEPARATOR << aParts[n];
}
// change current key(s)
}
// change current key(s)
return FALSE;
if ( !m_keyLocal.HasSubkeys() ) {
return FALSE;
if ( !m_keyLocal.HasSubkeys() ) {
- wxString strKey = GetPath().Right(APPCONF_PATH_SEPARATOR);
+ wxString strKey = GetPath().Right(wxCONFIG_PATH_SEPARATOR);
SetPath(".."); // changes m_keyLocal
return m_keyLocal.DeleteKey(strKey);
}
SetPath(".."); // changes m_keyLocal
return m_keyLocal.DeleteKey(strKey);
}