Removed some unnecessary bitmaps; other minor changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
@@ -52,7 +52,7 @@ bool MyApp::OnInit(void)
|
|||||||
// Create the main frame window
|
// Create the main frame window
|
||||||
|
|
||||||
frame = new MyFrame(NULL, "Joystick Demo", wxPoint(0, 0), wxSize(500, 400),
|
frame = new MyFrame(NULL, "Joystick Demo", wxPoint(0, 0), wxSize(500, 400),
|
||||||
wxDEFAULT_FRAME | wxHSCROLL | wxVSCROLL);
|
wxDEFAULT_FRAME_STYLE | wxHSCROLL | wxVSCROLL);
|
||||||
|
|
||||||
// Give it an icon (this is ignored in MDI mode: uses resources)
|
// Give it an icon (this is ignored in MDI mode: uses resources)
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
|
Before Width: | Height: | Size: 566 B |
Before Width: | Height: | Size: 740 B |
Before Width: | Height: | Size: 600 B |
Before Width: | Height: | Size: 734 B |
Before Width: | Height: | Size: 672 B |
Before Width: | Height: | Size: 722 B |
Before Width: | Height: | Size: 708 B |
Before Width: | Height: | Size: 714 B |
Before Width: | Height: | Size: 636 B |
Before Width: | Height: | Size: 780 B |
Before Width: | Height: | Size: 648 B |
Before Width: | Height: | Size: 676 B |
Before Width: | Height: | Size: 812 B |
Before Width: | Height: | Size: 706 B |
Before Width: | Height: | Size: 744 B |
@@ -43,7 +43,7 @@ bool MyApp::OnInit(void)
|
|||||||
// Create the main frame window
|
// Create the main frame window
|
||||||
|
|
||||||
frame = new MyFrame(NULL, -1, "Sash Demo", wxPoint(0, 0), wxSize(500, 400),
|
frame = new MyFrame(NULL, -1, "Sash Demo", wxPoint(0, 0), wxSize(500, 400),
|
||||||
wxDEFAULT_FRAME | wxHSCROLL | wxVSCROLL);
|
wxDEFAULT_FRAME_STYLE | wxHSCROLL | wxVSCROLL);
|
||||||
|
|
||||||
// Give it an icon (this is ignored in MDI mode: uses resources)
|
// Give it an icon (this is ignored in MDI mode: uses resources)
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
|
@@ -482,6 +482,9 @@ bool wxListCtrl::GetItem(wxListItem& info) const
|
|||||||
lvItem.pszText = NULL;
|
lvItem.pszText = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (info.m_mask & wxLIST_MASK_DATA)
|
||||||
|
lvItem.mask |= LVIF_PARAM ;
|
||||||
|
|
||||||
if ( info.m_mask & wxLIST_MASK_STATE )
|
if ( info.m_mask & wxLIST_MASK_STATE )
|
||||||
{
|
{
|
||||||
lvItem.mask |= LVIF_STATE;
|
lvItem.mask |= LVIF_STATE;
|
||||||
|