compilation fixes for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -42,7 +42,7 @@ static wxSize wxSplitMessage2( const wxString &message, wxWindow *parent )
|
||||
int y = 10;
|
||||
int w = 50;
|
||||
wxString line( _T("") );
|
||||
for (uint pos = 0; pos < message.Len(); pos++)
|
||||
for (size_t pos = 0; pos < message.Len(); pos++)
|
||||
{
|
||||
if (message[pos] == _T('\n'))
|
||||
{
|
||||
|
@@ -42,7 +42,7 @@ static wxSize wxSplitMessage2( const wxString &message, wxWindow *parent )
|
||||
int y = 10;
|
||||
int w = 50;
|
||||
wxString line( _T("") );
|
||||
for (uint pos = 0; pos < message.Len(); pos++)
|
||||
for (size_t pos = 0; pos < message.Len(); pos++)
|
||||
{
|
||||
if (message[pos] == _T('\n'))
|
||||
{
|
||||
|
@@ -94,11 +94,10 @@ int wxDirDialog::ShowModal(void)
|
||||
*/
|
||||
|
||||
// Fill in the BROWSEINFO structure.
|
||||
wxWX2MBbuf message = m_message.mb_str();
|
||||
bi.hwndOwner = hWnd;
|
||||
bi.pidlRoot = NULL; // pidlPrograms;
|
||||
bi.pszDisplayName = lpBuffer;
|
||||
bi.lpszTitle = (const char*)message; // BC++ 4.52 says LPSTR, not LPTSTR?
|
||||
bi.lpszTitle = m_message.mb_str(); // BC++ 4.52 says LPSTR, not LPTSTR?
|
||||
bi.ulFlags = 0;
|
||||
bi.lpfn = NULL;
|
||||
bi.lParam = 0;
|
||||
|
Reference in New Issue
Block a user