summaryrefslogtreecommitdiff
path: root/wintable/main.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-02-19 23:43:26 -0500
committerPietro Gagliardi <[email protected]>2015-02-19 23:43:26 -0500
commit7a26870c1ab37f7eb430ffab51035a7d3cb48274 (patch)
tree5226529bf783741fed624312510e0451756dd23b /wintable/main.h
parent924352d76a2bdc54415c18246a57bf29322f7344 (diff)
Removed the last bit of new Windows Table test initialization stuff now that tableSetSelection is in; moved into the test program instead.
Diffstat (limited to 'wintable/main.h')
-rw-r--r--wintable/main.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/wintable/main.h b/wintable/main.h
index ccfb5c1..27f84c7 100644
--- a/wintable/main.h
+++ b/wintable/main.h
@@ -94,12 +94,6 @@ static const handlerfunc handlers[] = {
NULL,
};
-static void initDummyTableStuff(struct table *t)
-{
- t->selectedRow = 2;
- t->selectedColumn = 1;
-}
-
static LRESULT CALLBACK tableWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
struct table *t;
@@ -119,7 +113,6 @@ static LRESULT CALLBACK tableWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM
t->selectedRow = -1;
t->selectedColumn = -1;
loadCheckboxThemeData(t);
-initDummyTableStuff(t);
SetWindowLongPtrW(hwnd, GWLP_USERDATA, (LONG_PTR) t);
}
// even if we did the above, fall through