summaryrefslogtreecommitdiff
path: root/win/Piecebar.cpp
diff options
context:
space:
mode:
authorleo1999-12-09 22:00:04 +0000
committerleo1999-12-09 22:00:04 +0000
commit13a29d52c47942a1d4c65a9aabd5f916ed0dd4d0 (patch)
treec2b3f6e7ee4ca4f902a4225ed72ddc9d3785f840 /win/Piecebar.cpp
parent7df7d4b627e5c09b665d8916d2a2e05e8d27bba9 (diff)
Added an option to sort the columns of the piece list from the properties dialog
Cleaned the image reading routines a little more git-svn-id: http://svn.leocad.org/trunk@29 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'win/Piecebar.cpp')
-rw-r--r--win/Piecebar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/Piecebar.cpp b/win/Piecebar.cpp
index 901213e..90410b0 100644
--- a/win/Piecebar.cpp
+++ b/win/Piecebar.cpp
@@ -693,7 +693,7 @@ int CPiecesBar::OnCreate(LPCREATESTRUCT lpCreateStruct)
for (int i = 0; i < LC_MAXCOLORS; i++)
m_wndColorsList.AddString("");
- m_wndPiecesCombo.Create (CBS_DROPDOWN|CBS_HASSTRINGS|WS_VISIBLE|WS_CHILD|
+ m_wndPiecesCombo.Create (CBS_DROPDOWN|CBS_SORT|CBS_HASSTRINGS|WS_VISIBLE|WS_CHILD|
WS_VSCROLL|WS_TABSTOP, CRect (0,0,0,0), this, IDW_PIECESCOMBO);
// Create a font for the combobox