From 3ef188e6075649f4c72e3e7588d8966e1071f2ff Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期五, 05 七月 2024 15:50:40 +0800
Subject: [PATCH] update .gitignore

---
 DelegateQueue/TradeQueueListControl.h |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/DelegateQueue/TradeQueueListControl.h b/DelegateQueue/TradeQueueListControl.h
index 7a8dcf8..6144982 100644
--- a/DelegateQueue/TradeQueueListControl.h
+++ b/DelegateQueue/TradeQueueListControl.h
@@ -6,17 +6,24 @@
 class TradeQueueListControl : public wxControl {
 private:
 	std::list<TradeQueue> queueList;
+	int contentHeight;// 内容的高度
+	bool suitHeight;
+	wxSize queueItemSize;
 
 
 
 public:
 	TradeQueueListControl(wxWindow* parent, wxWindowID id,
-		const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize);
+		const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,wxSize queueItemSize = wxSize(50,22));
 
 	void OnPaint(wxPaintEvent& event);
 
 	void setTradeQueue(std::list<TradeQueue> queueList);
 
+	int getContentHeight();
+
+	int getDataCount();
+
 
 };
 

--
Gitblit v1.8.0